public class com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest
  super_class: java.lang.Object
{
  private org.graalvm.polyglot.Context context;
    descriptor: Lorg/graalvm/polyglot/Context;
    flags: (0x0002) ACC_PRIVATE

  private com.oracle.truffle.api.instrumentation.TruffleInstrument$Env instrumentEnv;
    descriptor: Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
    flags: (0x0002) ACC_PRIVATE

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 73
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;

  public void setup();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 79
            aload 0 /* this */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "instrumentation-test-language"
            aastore
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            putfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
         1: .line 80
            aload 0 /* this */
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.Engine.getInstruments:()Ljava/util/Map;
            ldc "InstrumentationUpdateInstrument"
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast org.graalvm.polyglot.Instrument
            ldc Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual org.graalvm.polyglot.Instrument.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
            checkcast com.oracle.truffle.api.instrumentation.TruffleInstrument$Env
            putfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
         2: .line 81
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  public void teardown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 85
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            ifnull 2
         1: .line 86
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         2: .line 88
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
    RuntimeVisibleAnnotations: 
      org.junit.After()

  public void testRetiredTreeStillReachable();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=8, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 96
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_EXPRESSION(LOOP(3, STATEMENT(EXPRESSION))))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 97
            new com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener
            dup
            iconst_1
            invokespecial com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.<init>:(Z)V
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         2: .line 98
            aload 0 /* this */
            aload 2 /* listener1 */
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 3 /* binding */
        start local 3 // com.oracle.truffle.api.instrumentation.EventBinding binding
         3: .line 100
            aload 0 /* this */
            aload 1 /* source */
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.evalInNewThread:(Lorg/graalvm/polyglot/Source;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;)Ljava/lang/Thread;
            astore 4 /* t */
        start local 4 // java.lang.Thread t
         4: .line 101
            aload 2 /* listener1 */
            iconst_4
            anewarray java.lang.String
            dup
            iconst_0
            ldc "$START"
            aastore
            dup
            iconst_1
            ldc "+S"
            aastore
            dup
            iconst_2
            ldc "+S"
            aastore
            dup
            iconst_3
            ldc "-S"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         5: .line 102
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.waitUntilStopped:()V
         6: .line 103
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:()Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 5 /* listener2 */
        start local 5 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
         7: .line 104
            aload 2 /* listener1 */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "+S"
            aastore
            dup
            iconst_1
            ldc "-S"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         8: .line 105
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.waitUntilStopped:()V
         9: .line 106
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:()Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 6 /* listener3 */
        start local 6 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener3
        10: .line 107
            aload 2 /* listener1 */
            iconst_4
            anewarray java.lang.String
            dup
            iconst_0
            ldc "+S"
            aastore
            dup
            iconst_1
            ldc "-S"
            aastore
            dup
            iconst_2
            ldc "-S"
            aastore
            dup
            iconst_3
            ldc "$END"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
        11: .line 108
            aload 4 /* t */
            invokevirtual java.lang.Thread.join:()V
        12: .line 109
            aload 3 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
        13: .line 110
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:()Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 7 /* listener4 */
        start local 7 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener4
        14: .line 111
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
        15: .line 112
            ldc "+E-E-S+S+E-E-S-S+R+S+E-E+L+S+E-E-S+S+E-E-S+S+E-E-S-L-S-R"
            aload 5 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        16: .line 113
            ldc "+E-E-S-S+R+S+E-E+L+S+E-E-S+S+E-E-S+S+E-E-S-L-S-R"
            aload 6 /* listener3 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        17: .line 114
            ldc "+R+S+E-E+L+S+E-E-S+S+E-E-S+S+E-E-S-L-S-R"
            aload 7 /* listener4 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        18: .line 115
            return
        end local 7 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener4
        end local 6 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener3
        end local 5 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
        end local 4 // java.lang.Thread t
        end local 3 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   19     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1   19     1     source  Lorg/graalvm/polyglot/Source;
            2   19     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            3   19     3    binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;>;
            4   19     4          t  Ljava/lang/Thread;
            7   19     5  listener2  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
           10   19     6  listener3  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
           14   19     7  listener4  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    Exceptions:
      throws java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener attachRecordingListener();
    descriptor: ()Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 118
            new com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.<init>:()V
            astore 1 /* listener */
        start local 1 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener
         1: .line 119
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            getstatic com.oracle.truffle.api.instrumentation.SourceSectionFilter.ANY:Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            aload 1 /* listener */
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventListener:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
         2: .line 120
            aload 1 /* listener */
            areturn
        end local 1 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1    3     1  listener  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;

  private com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener attachRecordingListener(java.lang.Class<?>[]);
    descriptor: ([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
        start local 1 // java.lang.Class[] tags
         0: .line 124
            aload 0 /* this */
            iconst_0
            aload 1 /* tags */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Z[Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            areturn
        end local 1 // java.lang.Class[] tags
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            0    1     1  tags  [Ljava/lang/Class;
    Signature: ([Ljava/lang/Class<*>;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    MethodParameters:
      Name  Flags
      tags  

  private com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener attachRecordingListener(boolean, java.lang.Class<?>[]);
    descriptor: (Z[Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    flags: (0x0082) ACC_PRIVATE, ACC_VARARGS
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
        start local 1 // boolean stepping
        start local 2 // java.lang.Class[] tags
         0: .line 128
            new com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener
            dup
            iload 1 /* stepping */
            invokespecial com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.<init>:(Z)V
            astore 3 /* listener */
        start local 3 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener
         1: .line 129
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            invokestatic com.oracle.truffle.api.instrumentation.SourceSectionFilter.newBuilder:()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
            aload 2 /* tags */
            invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.tagIs:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.build:()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            aload 3 /* listener */
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventListener:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
         2: .line 130
            aload 3 /* listener */
            areturn
        end local 3 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener
        end local 2 // java.lang.Class[] tags
        end local 1 // boolean stepping
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    3     0      this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            0    3     1  stepping  Z
            0    3     2      tags  [Ljava/lang/Class;
            1    3     3  listener  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    Signature: (Z[Ljava/lang/Class<*>;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    MethodParameters:
          Name  Flags
      stepping  
      tags      

  private com.oracle.truffle.api.instrumentation.EventBinding<com.oracle.truffle.api.instrumentation.ExecutionEventListener> attachRecordingListener(com.oracle.truffle.api.instrumentation.ExecutionEventListener, java.lang.Class<?>);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
        start local 1 // com.oracle.truffle.api.instrumentation.ExecutionEventListener listener
        start local 2 // java.lang.Class tags
         0: .line 134
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            invokestatic com.oracle.truffle.api.instrumentation.SourceSectionFilter.newBuilder:()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            aload 2 /* tags */
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.tagIs:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter$Builder;
            invokevirtual com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder.build:()Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;
            aload 1 /* listener */
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventListener:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            areturn
        end local 2 // java.lang.Class tags
        end local 1 // com.oracle.truffle.api.instrumentation.ExecutionEventListener listener
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    1     0      this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            0    1     1  listener  Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;
            0    1     2      tags  Ljava/lang/Class<*>;
    Signature: (Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;Ljava/lang/Class<*>;)Lcom/oracle/truffle/api/instrumentation/EventBinding<Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;>;
    MethodParameters:
          Name  Flags
      listener  
      tags      

  private java.lang.Thread evalInNewThread(org.graalvm.polyglot.Source, com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener);
    descriptor: (Lorg/graalvm/polyglot/Source;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;)Ljava/lang/Thread;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
        start local 1 // org.graalvm.polyglot.Source source
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         0: .line 138
            new java.lang.Thread
            dup
            aload 0 /* this */
            aload 2 /* listener1 */
            aload 1 /* source */
            invokedynamic run(Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;Lorg/graalvm/polyglot/Source;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  com/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest.lambda$0(Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;Lorg/graalvm/polyglot/Source;)V (7)
                  ()V
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
            astore 3 /* t */
        start local 3 // java.lang.Thread t
         1: .line 146
            aload 3 /* t */
            invokevirtual java.lang.Thread.start:()V
         2: .line 147
            aload 3 /* t */
            areturn
        end local 3 // java.lang.Thread t
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    3     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            0    3     1     source  Lorg/graalvm/polyglot/Source;
            0    3     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            1    3     3          t  Ljava/lang/Thread;
    MethodParameters:
           Name  Flags
      source     
      listener1  

  public void testForcedCreationOfWrappers();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=6, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 156
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_EXPRESSION(LOOP(0, STATEMENT), LOOP(3, STATEMENT(EXPRESSION))))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 162
            aload 0 /* this */
            iconst_1
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTestLanguage$LoopTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Z[Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         2: .line 163
            aload 0 /* this */
            aload 1 /* source */
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.evalInNewThread:(Lorg/graalvm/polyglot/Source;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;)Ljava/lang/Thread;
            astore 3 /* t */
        start local 3 // java.lang.Thread t
         3: .line 164
            aload 2 /* listener1 */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "$START"
            aastore
            dup
            iconst_1
            ldc "+L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         4: .line 165
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 4 /* listener2 */
        start local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
         5: .line 166
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 5 /* listener3 */
        start local 5 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener3
         6: .line 167
            aload 2 /* listener1 */
            iconst_4
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-L"
            aastore
            dup
            iconst_1
            ldc "+L"
            aastore
            dup
            iconst_2
            ldc "-L"
            aastore
            dup
            iconst_3
            ldc "$END"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         7: .line 168
            aload 3 /* t */
            invokevirtual java.lang.Thread.join:()V
         8: .line 169
            ldc "+E-E+E-E+E-E"
            aload 4 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         9: .line 170
            ldc "+S-S+S-S+S-S"
            aload 5 /* listener3 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 171
            return
        end local 5 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener3
        end local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
        end local 3 // java.lang.Thread t
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1   11     1     source  Lorg/graalvm/polyglot/Source;
            2   11     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            3   11     3          t  Ljava/lang/Thread;
            5   11     4  listener2  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            6   11     5  listener3  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    Exceptions:
      throws java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testProbesWithRetiredNodeReferencesAreNotDisposed();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 180
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_EXPRESSION(LOOP(0, STATEMENT), LOOP(3, STATEMENT(EXPRESSION))))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 186
            aload 0 /* this */
            iconst_1
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTestLanguage$LoopTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Z[Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         2: .line 187
            aload 0 /* this */
            aload 1 /* source */
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.evalInNewThread:(Lorg/graalvm/polyglot/Source;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;)Ljava/lang/Thread;
            astore 3 /* t */
        start local 3 // java.lang.Thread t
         3: .line 188
            aload 2 /* listener1 */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "$START"
            aastore
            dup
            iconst_1
            ldc "+L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         4: .line 189
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.disableSteppingWhileWaiting:()V
         5: .line 190
            new com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.<init>:()V
            astore 4 /* listener2 */
        start local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
         6: .line 191
            aload 0 /* this */
            aload 4 /* listener2 */
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 5 /* binding */
        start local 5 // com.oracle.truffle.api.instrumentation.EventBinding binding
         7: .line 192
            aload 5 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
         8: .line 193
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         9: .line 194
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 6 /* listener3 */
        start local 6 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener3
        10: .line 195
            aload 2 /* listener1 */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
        11: .line 196
            aload 3 /* t */
            invokevirtual java.lang.Thread.join:()V
        12: .line 197
            ldc "+L+L-L+L-L-L+L-L"
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        13: .line 198
            ldc "+S-S+S-S+S-S"
            aload 6 /* listener3 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        14: .line 199
            return
        end local 6 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener3
        end local 5 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
        end local 3 // java.lang.Thread t
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   15     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1   15     1     source  Lorg/graalvm/polyglot/Source;
            2   15     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            3   15     3          t  Ljava/lang/Thread;
            6   15     4  listener2  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            7   15     5    binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;>;
           10   15     6  listener3  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    Exceptions:
      throws java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRepeatedInstrumentationDoesNotChangeParentsInMaterializedTree();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 207
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_STMT_AND_EXPR(EXPRESSION(EXPRESSION)))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 210
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 211
            new com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.<init>:()V
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         3: .line 212
            aload 0 /* this */
            aload 2 /* listener1 */
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 3 /* binding */
        start local 3 // com.oracle.truffle.api.instrumentation.EventBinding binding
         4: .line 213
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 214
            ldc "+S+S-S-S"
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 215
            aload 3 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
         7: .line 216
            aload 0 /* this */
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            aastore
            dup
            iconst_1
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 4 /* listener2 */
        start local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
         8: .line 217
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         9: .line 225
            ldc "+S+S+E-E-S+E-E-S"
            aload 4 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 226
            return
        end local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
        end local 3 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1   11     1     source  Lorg/graalvm/polyglot/Source;
            3   11     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            4   11     3    binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;>;
            8   11     4  listener2  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRepeatedInstrumentationChangesParentsInMaterializedTreeIfSubtreesAreNotCloned();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 234
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_STMT_AND_EXPR_NC(EXPRESSION(EXPRESSION)))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 237
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 238
            new com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener
            dup
            invokespecial com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.<init>:()V
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         3: .line 239
            aload 0 /* this */
            aload 2 /* listener1 */
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 3 /* binding */
        start local 3 // com.oracle.truffle.api.instrumentation.EventBinding binding
         4: .line 240
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         5: .line 241
            ldc "+S+S-S-S"
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         6: .line 242
            aload 3 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
         7: .line 243
            aload 0 /* this */
            iconst_2
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            aastore
            dup
            iconst_1
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 4 /* listener2 */
        start local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
         8: .line 244
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         9: .line 257
            ldc "+S+S+E-E-S-S"
            aload 4 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        10: .line 258
            return
        end local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
        end local 3 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1   11     1     source  Lorg/graalvm/polyglot/Source;
            3   11     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            4   11     3    binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;>;
            8   11     4  listener2  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultipleMaterializationNode();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 262
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_STMT_AND_EXPR_SEPARATELY(STATEMENT(EXPRESSION)))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 263
            aload 0 /* this */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:()Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         2: .line 264
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         3: .line 265
            ldc "+R+S+S-S+E-E+S+E-E-S-S-R"
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 266
            return
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1    5     1     source  Lorg/graalvm/polyglot/Source;
            2    5     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRetiredTreeStillReachableOnMultipleMaterializationOfTheSameNode();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=7, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 274
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_STMT_AND_EXPR_SEPARATELY(BLOCK, LOOP(0, STATEMENT), LOOP(3, STATEMENT(CONSTANT(42)))))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 275
            aload 0 /* this */
            iconst_1
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTestLanguage$LoopTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Z[Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         2: .line 276
            aload 0 /* this */
            aload 1 /* source */
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.evalInNewThread:(Lorg/graalvm/polyglot/Source;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;)Ljava/lang/Thread;
            astore 3 /* t1 */
        start local 3 // java.lang.Thread t1
         3: .line 277
            aload 2 /* listener1 */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "$START"
            aastore
            dup
            iconst_1
            ldc "+L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         4: .line 278
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.disableSteppingWhileWaiting:()V
         5: .line 279
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            pop
         6: .line 280
            aload 0 /* this */
            iconst_1
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTestLanguage$BlockTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Z[Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 4 /* listener2 */
        start local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
         7: .line 281
            aload 0 /* this */
            aload 1 /* source */
            aload 4 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.evalInNewThread:(Lorg/graalvm/polyglot/Source;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;)Ljava/lang/Thread;
            astore 5 /* t2 */
        start local 5 // java.lang.Thread t2
         8: .line 282
            aload 4 /* listener2 */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "$START"
            aastore
            dup
            iconst_1
            ldc "+BL"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         9: .line 283
            aload 4 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.disableSteppingWhileWaiting:()V
        10: .line 284
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            pop
        11: .line 285
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTestLanguage$ConstantTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 6 /* listener5 */
        start local 6 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener5
        12: .line 286
            aload 2 /* listener1 */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
        13: .line 287
            aload 3 /* t1 */
            invokevirtual java.lang.Thread.join:()V
        14: .line 288
            aload 4 /* listener2 */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-BL"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
        15: .line 289
            aload 5 /* t2 */
            invokevirtual java.lang.Thread.join:()V
        16: .line 290
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
        17: .line 291
            ldc "+C-C+C-C+C-C+C-C+C-C+C-C+C-C+C-C+C-C"
            aload 6 /* listener5 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        18: .line 292
            return
        end local 6 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener5
        end local 5 // java.lang.Thread t2
        end local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
        end local 3 // java.lang.Thread t1
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   19     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1   19     1     source  Lorg/graalvm/polyglot/Source;
            2   19     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            3   19     3         t1  Ljava/lang/Thread;
            7   19     4  listener2  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            8   19     5         t2  Ljava/lang/Thread;
           12   19     6  listener5  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    Exceptions:
      throws java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRetiredTreeOfRetiredTreeStillReachable();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 300
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_STATEMENT(MATERIALIZE_CHILD_EXPRESSION(LOOP(0, STATEMENT), LOOP(3, STATEMENT(CONSTANT(42))))))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 301
            aload 0 /* this */
            iconst_1
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTestLanguage$LoopTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Z[Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         2: .line 302
            aload 0 /* this */
            aload 1 /* source */
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.evalInNewThread:(Lorg/graalvm/polyglot/Source;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;)Ljava/lang/Thread;
            astore 3 /* t1 */
        start local 3 // java.lang.Thread t1
         3: .line 303
            aload 2 /* listener1 */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "$START"
            aastore
            dup
            iconst_1
            ldc "+L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         4: .line 304
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.disableSteppingWhileWaiting:()V
         5: .line 305
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$ExpressionTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            pop
         6: .line 306
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            pop
         7: .line 307
            aload 0 /* this */
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTestLanguage$ConstantTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:([Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 4 /* listener4 */
        start local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener4
         8: .line 308
            aload 2 /* listener1 */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         9: .line 309
            aload 3 /* t1 */
            invokevirtual java.lang.Thread.join:()V
        10: .line 310
            ldc "+C-C+C-C+C-C"
            aload 4 /* listener4 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        11: .line 311
            return
        end local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener4
        end local 3 // java.lang.Thread t1
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   12     0       this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1   12     1     source  Lorg/graalvm/polyglot/Source;
            2   12     2  listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            3   12     3         t1  Ljava/lang/Thread;
            8   12     4  listener4  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
    Exceptions:
      throws java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testWrappersAreRemoved();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=17, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 321
            ldc "instrumentation-test-language"
            ldc "ROOT(MATERIALIZE_CHILD_STATEMENT(LOOP(0, STATEMENT), LOOP(3, STATEMENT(CONSTANT(42)))))"
            invokestatic org.graalvm.polyglot.Source.create:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Source;
            astore 1 /* source */
        start local 1 // org.graalvm.polyglot.Source source
         1: .line 322
            aload 0 /* this */
            iconst_1
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            ldc Lcom/oracle/truffle/api/instrumentation/test/InstrumentationTestLanguage$LoopTag;
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Z[Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            astore 2 /* listener1 */
        start local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
         2: .line 323
            aload 0 /* this */
            aload 1 /* source */
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.evalInNewThread:(Lorg/graalvm/polyglot/Source;Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;)Ljava/lang/Thread;
            astore 3 /* t1 */
        start local 3 // java.lang.Thread t1
         3: .line 324
            aload 2 /* listener1 */
            iconst_2
            anewarray java.lang.String
            dup
            iconst_0
            ldc "$START"
            aastore
            dup
            iconst_1
            ldc "+L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         4: .line 325
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.disableSteppingWhileWaiting:()V
         5: .line 326
            new com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener
            dup
            iconst_0
            iconst_1
            invokespecial com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.<init>:(ZZ)V
            astore 4 /* listener2 */
        start local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
         6: .line 327
            aload 0 /* this */
            aload 4 /* listener2 */
            ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$StatementTag;
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.attachRecordingListener:(Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;Ljava/lang/Class;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 5 /* binding */
        start local 5 // com.oracle.truffle.api.instrumentation.EventBinding binding
         7: .line 328
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         8: .line 329
            aload 2 /* listener1 */
            iconst_1
            anewarray java.lang.String
            dup
            iconst_0
            ldc "-L"
            aastore
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.go:([Ljava/lang/String;)V
         9: .line 330
            aload 3 /* t1 */
            invokevirtual java.lang.Thread.join:()V
        10: .line 331
            ldc "+S+S-S+S-S+S-S+S-S-S+S-S+S-S+S-S"
            aload 4 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        11: .line 332
            aload 4 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getEnteredNodes:()Ljava/util/List;
            invokeinterface java.util.List.stream:()Ljava/util/stream/Stream;
            invokedynamic test()Ljava/util/function/Predicate;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)Z
                  com/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest.lambda$1(Lcom/oracle/truffle/api/nodes/Node;)Z (6)
                  (Lcom/oracle/truffle/api/nodes/Node;)Z
            invokeinterface java.util.stream.Stream.filter:(Ljava/util/function/Predicate;)Ljava/util/stream/Stream;
        12: .line 333
            invokestatic java.util.stream.Collectors.toList:()Ljava/util/stream/Collector;
        13: .line 332
            invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
            checkcast java.util.List
            astore 6 /* enteredMaterializedStatementNodes */
        start local 6 // java.util.List enteredMaterializedStatementNodes
        14: .line 335
            lconst_1
            aload 6 /* enteredMaterializedStatementNodes */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
        15: .line 336
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 7 /* retiredStatementNodes */
        start local 7 // java.util.List retiredStatementNodes
        16: .line 337
            aload 6 /* enteredMaterializedStatementNodes */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 9
            goto 32
      StackMap locals: com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest org.graalvm.polyglot.Source com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener java.lang.Thread com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener com.oracle.truffle.api.instrumentation.EventBinding java.util.List java.util.List top java.util.Iterator
      StackMap stack:
        17: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.oracle.truffle.api.nodes.Node
            astore 8 /* enteredNode */
        start local 8 // com.oracle.truffle.api.nodes.Node enteredNode
        18: .line 338
            aload 8 /* enteredNode */
            invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
            instanceof com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
            invokestatic org.junit.Assert.assertTrue:(Z)V
        19: .line 339
            aload 8 /* enteredNode */
            invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
            checkcast com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
            astore 10 /* wrapperNode */
        start local 10 // com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode wrapperNode
        20: .line 340
            aload 10 /* wrapperNode */
            invokeinterface com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode.getProbeNode:()Lcom/oracle/truffle/api/instrumentation/ProbeNode;
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            astore 11 /* probeNodeClass */
        start local 11 // java.lang.Class probeNodeClass
        21: .line 341
            aload 11 /* probeNodeClass */
            ldc "retiredNodeReference"
            invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            astore 12 /* retiredNodeReferenceField */
        start local 12 // java.lang.reflect.Field retiredNodeReferenceField
        22: .line 342
            aload 12 /* retiredNodeReferenceField */
            iconst_1
            invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
        23: .line 343
            aload 12 /* retiredNodeReferenceField */
            aload 10 /* wrapperNode */
            invokeinterface com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode.getProbeNode:()Lcom/oracle/truffle/api/instrumentation/ProbeNode;
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 13 /* retiredNodeReference */
        start local 13 // java.lang.Object retiredNodeReference
        24: .line 344
            aload 13 /* retiredNodeReference */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        25: .line 345
            aload 13 /* retiredNodeReference */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            astore 14 /* retiredNodeReferenceClass */
        start local 14 // java.lang.Class retiredNodeReferenceClass
        26: .line 346
            aload 14 /* retiredNodeReferenceClass */
            ldc "node"
            invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            astore 15 /* retiredNodeWeakReferenceField */
        start local 15 // java.lang.reflect.Field retiredNodeWeakReferenceField
        27: .line 347
            aload 15 /* retiredNodeWeakReferenceField */
            iconst_1
            invokevirtual java.lang.reflect.Field.setAccessible:(Z)V
        28: .line 348
            aload 15 /* retiredNodeWeakReferenceField */
            aload 13 /* retiredNodeReference */
            invokevirtual java.lang.reflect.Field.get:(Ljava/lang/Object;)Ljava/lang/Object;
            astore 16 /* retiredNodeWeakReference */
        start local 16 // java.lang.Object retiredNodeWeakReference
        29: .line 349
            aload 16 /* retiredNodeWeakReference */
            invokestatic org.junit.Assert.assertNotNull:(Ljava/lang/Object;)V
        30: .line 350
            aload 16 /* retiredNodeWeakReference */
            instanceof java.lang.ref.WeakReference
            invokestatic org.junit.Assert.assertTrue:(Z)V
        31: .line 351
            aload 7 /* retiredStatementNodes */
            aload 16 /* retiredNodeWeakReference */
            checkcast java.lang.ref.WeakReference
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
        end local 16 // java.lang.Object retiredNodeWeakReference
        end local 15 // java.lang.reflect.Field retiredNodeWeakReferenceField
        end local 14 // java.lang.Class retiredNodeReferenceClass
        end local 13 // java.lang.Object retiredNodeReference
        end local 12 // java.lang.reflect.Field retiredNodeReferenceField
        end local 11 // java.lang.Class probeNodeClass
        end local 10 // com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode wrapperNode
        end local 8 // com.oracle.truffle.api.nodes.Node enteredNode
        32: .line 337
      StackMap locals:
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 17
        33: .line 357
            aload 4 /* listener2 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.clearEnteredNodes:()V
        34: .line 358
            aload 7 /* retiredStatementNodes */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 9
            goto 37
      StackMap locals:
      StackMap stack:
        35: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.lang.ref.WeakReference
            astore 8 /* retiredStatementNodeWeakReference */
        start local 8 // java.lang.ref.WeakReference retiredStatementNodeWeakReference
        36: .line 359
            ldc "Retired node is was not collected!"
            aload 8 /* retiredStatementNodeWeakReference */
            invokestatic com.oracle.truffle.api.test.GCUtils.assertGc:(Ljava/lang/String;Ljava/lang/ref/Reference;)V
        end local 8 // java.lang.ref.WeakReference retiredStatementNodeWeakReference
        37: .line 358
      StackMap locals:
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 35
        38: .line 361
            aload 5 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
        39: .line 362
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 1 /* source */
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
        40: .line 363
            aload 6 /* enteredMaterializedStatementNodes */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 9
            goto 43
      StackMap locals:
      StackMap stack:
        41: aload 9
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast com.oracle.truffle.api.nodes.Node
            astore 8 /* enteredNode */
        start local 8 // com.oracle.truffle.api.nodes.Node enteredNode
        42: .line 364
            aload 8 /* enteredNode */
            invokevirtual com.oracle.truffle.api.nodes.Node.getParent:()Lcom/oracle/truffle/api/nodes/Node;
            instanceof com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode
            invokestatic org.junit.Assert.assertFalse:(Z)V
        end local 8 // com.oracle.truffle.api.nodes.Node enteredNode
        43: .line 363
      StackMap locals:
      StackMap stack:
            aload 9
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 41
        44: .line 366
            ldc "+L+L-L+L-L-L+L-L+L-L+L-L"
            aload 2 /* listener1 */
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.getRecording:()Ljava/lang/String;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
        45: .line 367
            return
        end local 7 // java.util.List retiredStatementNodes
        end local 6 // java.util.List enteredMaterializedStatementNodes
        end local 5 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 4 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener2
        end local 3 // java.lang.Thread t1
        end local 2 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener listener1
        end local 1 // org.graalvm.polyglot.Source source
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot                               Name  Signature
            0   46     0                               this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
            1   46     1                             source  Lorg/graalvm/polyglot/Source;
            2   46     2                          listener1  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            3   46     3                                 t1  Ljava/lang/Thread;
            6   46     4                          listener2  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;
            7   46     5                            binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<Lcom/oracle/truffle/api/instrumentation/ExecutionEventListener;>;
           14   46     6  enteredMaterializedStatementNodes  Ljava/util/List<Lcom/oracle/truffle/api/nodes/Node;>;
           16   46     7              retiredStatementNodes  Ljava/util/List<Ljava/lang/ref/WeakReference<Lcom/oracle/truffle/api/nodes/Node;>;>;
           18   32     8                        enteredNode  Lcom/oracle/truffle/api/nodes/Node;
           20   32    10                        wrapperNode  Lcom/oracle/truffle/api/instrumentation/InstrumentableNode$WrapperNode;
           21   32    11                     probeNodeClass  Ljava/lang/Class<*>;
           22   32    12          retiredNodeReferenceField  Ljava/lang/reflect/Field;
           24   32    13               retiredNodeReference  Ljava/lang/Object;
           26   32    14          retiredNodeReferenceClass  Ljava/lang/Class<*>;
           27   32    15      retiredNodeWeakReferenceField  Ljava/lang/reflect/Field;
           29   32    16           retiredNodeWeakReference  Ljava/lang/Object;
           36   37     8  retiredStatementNodeWeakReference  Ljava/lang/ref/WeakReference<Lcom/oracle/truffle/api/nodes/Node;>;
           42   43     8                        enteredNode  Lcom/oracle/truffle/api/nodes/Node;
    Exceptions:
      throws java.lang.InterruptedException, java.lang.NoSuchFieldException, java.lang.IllegalAccessException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private void lambda$0(com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener, org.graalvm.polyglot.Source);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest$RecordingExecutionEventListener;Lorg/graalvm/polyglot/Source;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
         0: .line 139
            aload 1
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.start:()V
         1: .line 141
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest.context:Lorg/graalvm/polyglot/Context;
            aload 2
            invokevirtual org.graalvm.polyglot.Context.eval:(Lorg/graalvm/polyglot/Source;)Lorg/graalvm/polyglot/Value;
            pop
         2: .line 142
            goto 6
      StackMap locals:
      StackMap stack: java.lang.Throwable
         3: astore 3
         4: .line 143
            aload 1
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.end:()V
         5: .line 144
            aload 3
            athrow
         6: .line 143
      StackMap locals:
      StackMap stack:
            aload 1
            invokevirtual com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener.end:()V
         7: .line 145
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/oracle/truffle/api/instrumentation/test/GradualInstrumentationTest;
      Exception table:
        from    to  target  type
           1     3       3  any

  private static boolean lambda$1(com.oracle.truffle.api.nodes.Node);
    descriptor: (Lcom/oracle/truffle/api/nodes/Node;)Z
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.nodes.Node node
         0: .line 332
            aload 0 /* node */
            instanceof com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage$MaterializedChildStatementNode
            ireturn
        end local 0 // com.oracle.truffle.api.nodes.Node node
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  node  Lcom/oracle/truffle/api/nodes/Node;
}
SourceFile: "GradualInstrumentationTest.java"
NestMembers:
  com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener
InnerClasses:
  public abstract WrapperNode = com.oracle.truffle.api.instrumentation.InstrumentableNode$WrapperNode of com.oracle.truffle.api.instrumentation.InstrumentableNode
  public final Builder = com.oracle.truffle.api.instrumentation.SourceSectionFilter$Builder of com.oracle.truffle.api.instrumentation.SourceSectionFilter
  public final ExpressionTag = com.oracle.truffle.api.instrumentation.StandardTags$ExpressionTag of com.oracle.truffle.api.instrumentation.StandardTags
  public final StatementTag = com.oracle.truffle.api.instrumentation.StandardTags$StatementTag of com.oracle.truffle.api.instrumentation.StandardTags
  public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
  public RecordingExecutionEventListener = com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest$RecordingExecutionEventListener of com.oracle.truffle.api.instrumentation.test.GradualInstrumentationTest
  BlockTag = com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage$BlockTag of com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage
  ConstantTag = com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage$ConstantTag of com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage
  LoopTag = com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage$LoopTag of com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage
  MaterializedChildStatementNode = com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage$MaterializedChildStatementNode of com.oracle.truffle.api.instrumentation.test.InstrumentationTestLanguage
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles