public class org.graalvm.compiler.core.test.MonitorGraphTest extends org.graalvm.compiler.core.test.GraalCompilerTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.core.test.MonitorGraphTest
  super_class: org.graalvm.compiler.core.test.GraalCompilerTest
{
  private static final java.lang.String REFERENCE_SNIPPET;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "referenceSnippet"

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
         0: .line 52
            aload 0 /* this */
            invokespecial org.graalvm.compiler.core.test.GraalCompilerTest.<init>:()V
            return
        end local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/MonitorGraphTest;

  public static synchronized int referenceSnippet(int);
    descriptor: (I)I
    flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int a
         0: .line 58
            iconst_1
            ireturn
        end local 0 // int a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     a  I
    MethodParameters:
      Name  Flags
      a     

  public static int const1();
    descriptor: ()I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 62
            iconst_1
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void test1();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
         0: .line 65
            new java.lang.Error
            dup
            ldc "Unresolved compilation problem: \n\tTest cannot be resolved to a type\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/MonitorGraphTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static synchronized int test1Snippet(int);
    descriptor: (I)I
    flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int a
         0: .line 72
            invokestatic org.graalvm.compiler.core.test.MonitorGraphTest.const1:()I
            ireturn
        end local 0 // int a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     a  I
    MethodParameters:
      Name  Flags
      a     

  public void test2();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
         0: .line 75
            new java.lang.Error
            dup
            ldc "Unresolved compilation problems: \n\tTest cannot be resolved to a type\n\tAssert cannot be resolved\n\tAssert cannot be resolved\n"
            invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
            athrow
        end local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/graalvm/compiler/core/test/MonitorGraphTest;
    RuntimeInvisibleAnnotations: 
      Test()

  public static int test2Snippet(int);
    descriptor: (I)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // int a
         0: .line 85
            invokestatic org.graalvm.compiler.core.test.MonitorGraphTest.const2:()I
            ireturn
        end local 0 // int a
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     a  I
    MethodParameters:
      Name  Flags
      a     

  public static synchronized int const2();
    descriptor: ()I
    flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=0, args_size=0
         0: .line 89
            iconst_1
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private org.graalvm.compiler.nodes.StructuredGraph parseAndProcess(java.lang.String);
    descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=2
        start local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
        start local 1 // java.lang.String snippet
         0: .line 93
            aload 0 /* this */
            aload 1 /* snippet */
            getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.NO:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
            invokevirtual org.graalvm.compiler.core.test.MonitorGraphTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 2 /* graph */
        start local 2 // org.graalvm.compiler.nodes.StructuredGraph graph
         1: .line 94
            aload 2 /* graph */
            getstatic org.graalvm.compiler.nodes.ParameterNode.TYPE:Lorg/graalvm/compiler/graph/NodeClass;
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:(Lorg/graalvm/compiler/graph/NodeClass;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.first:()Lorg/graalvm/compiler/graph/Node;
            checkcast org.graalvm.compiler.nodes.ParameterNode
            astore 3 /* param */
        start local 3 // org.graalvm.compiler.nodes.ParameterNode param
         2: .line 95
            aload 3 /* param */
            ifnull 9
         3: .line 96
            iconst_0
            aload 2 /* graph */
            invokestatic org.graalvm.compiler.nodes.ConstantNode.forInt:(ILorg/graalvm/compiler/nodes/StructuredGraph;)Lorg/graalvm/compiler/nodes/ConstantNode;
            astore 4 /* constant */
        start local 4 // org.graalvm.compiler.nodes.ConstantNode constant
         4: .line 97
            aload 3 /* param */
            invokevirtual org.graalvm.compiler.nodes.ParameterNode.usages:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.snapshot:()Ljava/util/List;
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 6
            goto 8
      StackMap locals: org.graalvm.compiler.core.test.MonitorGraphTest java.lang.String org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ParameterNode org.graalvm.compiler.nodes.ConstantNode top java.util.Iterator
      StackMap stack:
         5: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.graph.Node
            astore 5 /* n */
        start local 5 // org.graalvm.compiler.graph.Node n
         6: .line 98
            aload 5 /* n */
            instanceof org.graalvm.compiler.nodes.FrameState
            ifne 8
         7: .line 99
            aload 5 /* n */
            aload 3 /* param */
            aload 4 /* constant */
            invokevirtual org.graalvm.compiler.graph.Node.replaceFirstInput:(Lorg/graalvm/compiler/graph/Node;Lorg/graalvm/compiler/graph/Node;)V
        end local 5 // org.graalvm.compiler.graph.Node n
         8: .line 97
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 5
        end local 4 // org.graalvm.compiler.nodes.ConstantNode constant
         9: .line 103
      StackMap locals: org.graalvm.compiler.core.test.MonitorGraphTest java.lang.String org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ParameterNode
      StackMap stack:
            new java.util.HashMap
            dup
            invokespecial java.util.HashMap.<init>:()V
            astore 4 /* hints */
        start local 4 // java.util.Map hints
        10: .line 104
            aload 2 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getInvokes:()Ljava/lang/Iterable;
            invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
            astore 6
            goto 13
      StackMap locals: org.graalvm.compiler.core.test.MonitorGraphTest java.lang.String org.graalvm.compiler.nodes.StructuredGraph org.graalvm.compiler.nodes.ParameterNode java.util.Map top java.util.Iterator
      StackMap stack:
        11: aload 6
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.nodes.Invoke
            astore 5 /* invoke */
        start local 5 // org.graalvm.compiler.nodes.Invoke invoke
        12: .line 105
            aload 4 /* hints */
            aload 5 /* invoke */
            ldc 1000.0
            invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 5 // org.graalvm.compiler.nodes.Invoke invoke
        13: .line 104
      StackMap locals:
      StackMap stack:
            aload 6
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 11
        14: .line 107
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.core.test.MonitorGraphTest.getDefaultHighTierContext:()Lorg/graalvm/compiler/phases/tiers/HighTierContext;
            astore 5 /* context */
        start local 5 // org.graalvm.compiler.phases.tiers.HighTierContext context
        15: .line 108
            new org.graalvm.compiler.phases.common.inlining.InliningPhase
            dup
            aload 4 /* hints */
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            invokespecial org.graalvm.compiler.phases.common.inlining.InliningPhase.<init>:(Ljava/util/Map;Lorg/graalvm/compiler/phases/common/CanonicalizerPhase;)V
            aload 2 /* graph */
            aload 5 /* context */
            invokevirtual org.graalvm.compiler.phases.common.inlining.InliningPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
        16: .line 109
            new org.graalvm.compiler.phases.common.CanonicalizerPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.CanonicalizerPhase.<init>:()V
            aload 2 /* graph */
            aload 5 /* context */
            invokevirtual org.graalvm.compiler.phases.common.CanonicalizerPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Object;)V
        17: .line 110
            new org.graalvm.compiler.phases.common.DeadCodeEliminationPhase
            dup
            invokespecial org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.<init>:()V
            aload 2 /* graph */
            invokevirtual org.graalvm.compiler.phases.common.DeadCodeEliminationPhase.apply:(Lorg/graalvm/compiler/nodes/StructuredGraph;)V
        18: .line 111
            aload 2 /* graph */
            areturn
        end local 5 // org.graalvm.compiler.phases.tiers.HighTierContext context
        end local 4 // java.util.Map hints
        end local 3 // org.graalvm.compiler.nodes.ParameterNode param
        end local 2 // org.graalvm.compiler.nodes.StructuredGraph graph
        end local 1 // java.lang.String snippet
        end local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   19     0      this  Lorg/graalvm/compiler/core/test/MonitorGraphTest;
            0   19     1   snippet  Ljava/lang/String;
            1   19     2     graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            2   19     3     param  Lorg/graalvm/compiler/nodes/ParameterNode;
            4    9     4  constant  Lorg/graalvm/compiler/nodes/ConstantNode;
            6    8     5         n  Lorg/graalvm/compiler/graph/Node;
           10   19     4     hints  Ljava/util/Map<Lorg/graalvm/compiler/nodes/Invoke;Ljava/lang/Double;>;
           12   13     5    invoke  Lorg/graalvm/compiler/nodes/Invoke;
           15   19     5   context  Lorg/graalvm/compiler/phases/tiers/HighTierContext;
    MethodParameters:
         Name  Flags
      snippet  

  private void test(java.lang.String);
    descriptor: (Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
        start local 1 // java.lang.String snippet
         0: .line 115
            aload 0 /* this */
            aload 1 /* snippet */
            invokevirtual org.graalvm.compiler.core.test.MonitorGraphTest.parseAndProcess:(Ljava/lang/String;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 2 /* graph */
        start local 2 // org.graalvm.compiler.nodes.StructuredGraph graph
         1: .line 116
            aload 0 /* this */
            ldc "referenceSnippet"
            getstatic org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions.NO:Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;
            invokevirtual org.graalvm.compiler.core.test.MonitorGraphTest.parseEager:(Ljava/lang/String;Lorg/graalvm/compiler/nodes/StructuredGraph$AllowAssumptions;)Lorg/graalvm/compiler/nodes/StructuredGraph;
            astore 3 /* referenceGraph */
        start local 3 // org.graalvm.compiler.nodes.StructuredGraph referenceGraph
         2: .line 117
            aload 0 /* this */
            aload 3 /* referenceGraph */
            aload 2 /* graph */
            invokevirtual org.graalvm.compiler.core.test.MonitorGraphTest.assertEquals:(Lorg/graalvm/compiler/nodes/StructuredGraph;Lorg/graalvm/compiler/nodes/StructuredGraph;)V
         3: .line 118
            return
        end local 3 // org.graalvm.compiler.nodes.StructuredGraph referenceGraph
        end local 2 // org.graalvm.compiler.nodes.StructuredGraph graph
        end local 1 // java.lang.String snippet
        end local 0 // org.graalvm.compiler.core.test.MonitorGraphTest this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    4     0            this  Lorg/graalvm/compiler/core/test/MonitorGraphTest;
            0    4     1         snippet  Ljava/lang/String;
            1    4     2           graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            2    4     3  referenceGraph  Lorg/graalvm/compiler/nodes/StructuredGraph;
    MethodParameters:
         Name  Flags
      snippet  
}
SourceFile: "MonitorGraphTest.java"
InnerClasses:
  public final AllowAssumptions = org.graalvm.compiler.nodes.StructuredGraph$AllowAssumptions of org.graalvm.compiler.nodes.StructuredGraph