class com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread extends java.lang.Thread
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread
  super_class: java.lang.Thread
{
  private final org.graalvm.polyglot.Engine engine;
    descriptor: Lorg/graalvm/polyglot/Engine;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env;
    descriptor: Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean load;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.List<com.oracle.truffle.api.source.Source> sources;
    descriptor: Ljava/util/List;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/List<Lcom/oracle/truffle/api/source/Source;>;

  private java.util.concurrent.CountDownLatch executionLatch;
    descriptor: Ljava/util/concurrent/CountDownLatch;
    flags: (0x0002) ACC_PRIVATE

  final com.oracle.truffle.api.instrumentation.test.DeadlockTest this$0;
    descriptor: Lcom/oracle/truffle/api/instrumentation/test/DeadlockTest;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  void <init>(com.oracle.truffle.api.instrumentation.test.DeadlockTest, org.graalvm.polyglot.Engine, com.oracle.truffle.api.instrumentation.TruffleInstrument$Env, boolean);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/test/DeadlockTest;Lorg/graalvm/polyglot/Engine;Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;Z)V
    flags: (0x0000) 
    Code:
      stack=3, locals=5, args_size=5
        start local 0 // com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread this
        start local 2 // org.graalvm.polyglot.Engine engine
        start local 3 // com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env
        start local 4 // boolean load
         0: .line 146
            aload 0 /* this */
            aload 1
            putfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.this$0:Lcom/oracle/truffle/api/instrumentation/test/DeadlockTest;
         1: .line 147
            aload 0 /* this */
            ldc "Instrumentation Thread"
            invokespecial java.lang.Thread.<init>:(Ljava/lang/String;)V
         2: .line 143
            aload 0 /* this */
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            putfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.sources:Ljava/util/List;
         3: .line 148
            aload 0 /* this */
            aload 2 /* engine */
            putfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.engine:Lorg/graalvm/polyglot/Engine;
         4: .line 149
            aload 0 /* this */
            aload 3 /* env */
            putfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.env:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
         5: .line 150
            aload 0 /* this */
            iload 4 /* load */
            putfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.load:Z
         6: .line 151
            return
        end local 4 // boolean load
        end local 3 // com.oracle.truffle.api.instrumentation.TruffleInstrument$Env env
        end local 2 // org.graalvm.polyglot.Engine engine
        end local 0 // com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lcom/oracle/truffle/api/instrumentation/test/DeadlockTest$InstrumentationThread;
            0    7     2  engine  Lorg/graalvm/polyglot/Engine;
            0    7     3     env  Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            0    7     4    load  Z
    MethodParameters:
        Name  Flags
      this$0  final
      engine  
      env     
      load    

  void setExecutionLatch(java.util.concurrent.CountDownLatch);
    descriptor: (Ljava/util/concurrent/CountDownLatch;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread this
        start local 1 // java.util.concurrent.CountDownLatch latch
         0: .line 154
            aload 0 /* this */
            aload 1 /* latch */
            putfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.executionLatch:Ljava/util/concurrent/CountDownLatch;
         1: .line 155
            return
        end local 1 // java.util.concurrent.CountDownLatch latch
        end local 0 // com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lcom/oracle/truffle/api/instrumentation/test/DeadlockTest$InstrumentationThread;
            0    2     1  latch  Ljava/util/concurrent/CountDownLatch;
    MethodParameters:
       Name  Flags
      latch  

  public void run();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread this
         0: .line 159
            aconst_null
            astore 1
            aconst_null
            astore 2
         1: iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.engine:Lorg/graalvm/polyglot/Engine;
            invokevirtual org.graalvm.polyglot.Context$Builder.engine:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            astore 3 /* c */
        start local 3 // org.graalvm.polyglot.Context c
         2: .line 160
            aload 3 /* c */
            ldc "truffle-locking-test-language"
            ldc "getExecLatch"
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
         3: .line 161
            aload 3 /* c */
            ifnull 9
            aload 3 /* c */
            invokevirtual org.graalvm.polyglot.Context.close:()V
            goto 9
      StackMap locals: com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread java.lang.Throwable java.lang.Throwable org.graalvm.polyglot.Context
      StackMap stack: java.lang.Throwable
         4: astore 1
            aload 3 /* c */
            ifnull 5
            aload 3 /* c */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        end local 3 // org.graalvm.polyglot.Context c
      StackMap locals:
      StackMap stack:
         5: aload 1
            athrow
      StackMap locals:
      StackMap stack: java.lang.Throwable
         6: astore 2
            aload 1
            ifnonnull 7
            aload 2
            astore 1
            goto 8
      StackMap locals:
      StackMap stack:
         7: aload 1
            aload 2
            if_acmpeq 8
            aload 1
            aload 2
            invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
      StackMap locals:
      StackMap stack:
         8: aload 1
            athrow
         9: .line 164
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.executionLatch:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.await:()V
        10: .line 165
            goto 12
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        11: pop
        12: .line 167
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.load:Z
            ifeq 20
        13: .line 168
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.env: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.SourceFilter.ANY:Lcom/oracle/truffle/api/instrumentation/SourceFilter;
            new com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread$1
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread$1.<init>:(Lcom/oracle/truffle/api/instrumentation/test/DeadlockTest$InstrumentationThread;)V
        14: .line 173
            iconst_1
        15: .line 168
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachLoadSourceListener:(Lcom/oracle/truffle/api/instrumentation/SourceFilter;Lcom/oracle/truffle/api/instrumentation/LoadSourceListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
        16: .line 174
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.env: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;
            invokedynamic onLoad()Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionListener;
              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:
                  (Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V
                  com/oracle/truffle/api/instrumentation/test/DeadlockTest$InstrumentationThread.lambda$0(Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V (6)
                  (Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V
        17: .line 175
            iconst_1
        18: .line 174
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachLoadSourceSectionListener:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
        19: .line 176
            goto 24
        20: .line 177
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.env: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.SourceFilter.ANY:Lcom/oracle/truffle/api/instrumentation/SourceFilter;
            new com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread$2
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread$2.<init>:(Lcom/oracle/truffle/api/instrumentation/test/DeadlockTest$InstrumentationThread;)V
        21: .line 182
            iconst_1
        22: .line 177
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecuteSourceListener:(Lcom/oracle/truffle/api/instrumentation/SourceFilter;Lcom/oracle/truffle/api/instrumentation/ExecuteSourceListener;Z)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
        23: .line 183
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread.env: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;
            invokedynamic create()Lcom/oracle/truffle/api/instrumentation/ExecutionEventNodeFactory;
              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:
                  (Lcom/oracle/truffle/api/instrumentation/EventContext;)Lcom/oracle/truffle/api/instrumentation/ExecutionEventNode;
                  com/oracle/truffle/api/instrumentation/test/DeadlockTest$InstrumentationThread.lambda$1(Lcom/oracle/truffle/api/instrumentation/EventContext;)Lcom/oracle/truffle/api/instrumentation/ExecutionEventNode; (6)
                  (Lcom/oracle/truffle/api/instrumentation/EventContext;)Lcom/oracle/truffle/api/instrumentation/ExecutionEventNode;
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachExecutionEventFactory:(Lcom/oracle/truffle/api/instrumentation/SourceSectionFilter;Lcom/oracle/truffle/api/instrumentation/ExecutionEventNodeFactory;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
        24: .line 185
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   25     0  this  Lcom/oracle/truffle/api/instrumentation/test/DeadlockTest$InstrumentationThread;
            2    5     3     c  Lorg/graalvm/polyglot/Context;
      Exception table:
        from    to  target  type
           2     3       4  any
           1     6       6  any
           9    10      11  Class java.lang.InterruptedException

  private static void lambda$0(com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent e
         0: .line 175
            return
        end local 0 // com.oracle.truffle.api.instrumentation.LoadSourceSectionEvent e
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0     e  Lcom/oracle/truffle/api/instrumentation/LoadSourceSectionEvent;

  private static com.oracle.truffle.api.instrumentation.ExecutionEventNode lambda$1(com.oracle.truffle.api.instrumentation.EventContext);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/EventContext;)Lcom/oracle/truffle/api/instrumentation/ExecutionEventNode;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.EventContext context
         0: .line 183
            aconst_null
            areturn
        end local 0 // com.oracle.truffle.api.instrumentation.EventContext context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0  context  Lcom/oracle/truffle/api/instrumentation/EventContext;
}
SourceFile: "DeadlockTest.java"
NestHost: com.oracle.truffle.api.instrumentation.test.DeadlockTest
InnerClasses:
  public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
  private InstrumentationThread = com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread of com.oracle.truffle.api.instrumentation.test.DeadlockTest
  com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread$1
  com.oracle.truffle.api.instrumentation.test.DeadlockTest$InstrumentationThread$2
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context