public class com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest extends com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest
  super_class: com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest
{
  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 69
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.test.polyglot.AbstractPolyglotTest.<init>:()V
         1: .line 70
            aload 0 /* this */
            iconst_0
            putfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.enterContext:Z
         2: .line 71
            aload 0 /* this */
            iconst_0
            putfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.cleanupOnSetup:Z
         3: .line 72
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;

  public void testInternalContext();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=9, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 76
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$1
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$1.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 83
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            astore 1 /* c0 */
        start local 1 // org.graalvm.polyglot.Context c0
         2: .line 84
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 2 /* tc0 */
        start local 2 // com.oracle.truffle.api.TruffleContext tc0
         3: .line 86
            aload 1 /* c0 */
            invokevirtual org.graalvm.polyglot.Context.enter:()V
         4: .line 87
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.newContextBuilder:()Lcom/oracle/truffle/api/TruffleContext$Builder;
            invokevirtual com.oracle.truffle.api.TruffleContext$Builder.build:()Lcom/oracle/truffle/api/TruffleContext;
            astore 3 /* ic0 */
        start local 3 // com.oracle.truffle.api.TruffleContext ic0
         5: .line 88
            aload 3 /* ic0 */
            aconst_null
            invokevirtual com.oracle.truffle.api.TruffleContext.enter:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
            astore 4 /* prev */
        start local 4 // java.lang.Object prev
         6: .line 91
            invokestatic com.oracle.truffle.api.test.polyglot.ProxyLanguage.getCurrentContext:()Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage$LanguageContext;
            invokevirtual com.oracle.truffle.api.test.polyglot.ProxyLanguage$LanguageContext.getEnv:()Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 3 /* ic0 */
         7: .line 92
            aload 3 /* ic0 */
            aconst_null
            aload 4 /* prev */
            invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
         8: .line 94
            aload 1 /* c0 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         9: .line 96
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 5 /* entered */
        start local 5 // java.util.List entered
        10: .line 97
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 6 /* left */
        start local 6 // java.util.List left
        11: .line 98
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$2
            dup
            aload 0 /* this */
            aload 5 /* entered */
            aload 6 /* left */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$2.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;Ljava/util/List;Ljava/util/List;)V
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachThreadsActivationListener:(Lcom/oracle/truffle/api/instrumentation/ThreadsActivationListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 7 /* binding */
        start local 7 // com.oracle.truffle.api.instrumentation.EventBinding binding
        12: .line 111
            aload 5 /* entered */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        13: .line 112
            aload 6 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        14: .line 114
            aload 2 /* tc0 */
            aload 3 /* ic0 */
            invokevirtual com.oracle.truffle.api.TruffleContext.getParent:()Lcom/oracle/truffle/api/TruffleContext;
            invokestatic org.junit.Assert.assertSame:(Ljava/lang/Object;Ljava/lang/Object;)V
        15: .line 116
            aload 5 /* entered */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        16: .line 117
            aload 6 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        17: .line 119
            aload 3 /* ic0 */
            aconst_null
            invokevirtual com.oracle.truffle.api.TruffleContext.enter:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
            astore 4 /* prev */
        18: .line 120
            aload 5 /* entered */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        19: .line 121
            aload 6 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        20: .line 123
            aload 3 /* ic0 */
            aconst_null
            aload 4 /* prev */
            invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
        21: .line 125
            aload 5 /* entered */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        22: .line 126
            aload 6 /* left */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        23: .line 128
            aload 2 /* tc0 */
            aconst_null
            invokevirtual com.oracle.truffle.api.TruffleContext.enter:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
            astore 4 /* prev */
        24: .line 129
            aload 5 /* entered */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            dup
            iconst_1
            aload 2 /* tc0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        25: .line 130
            aload 6 /* left */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        26: .line 131
            aload 3 /* ic0 */
            aconst_null
            invokevirtual com.oracle.truffle.api.TruffleContext.enter:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
            astore 8 /* prev1 */
        start local 8 // java.lang.Object prev1
        27: .line 132
            aload 5 /* entered */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            dup
            iconst_1
            aload 2 /* tc0 */
            aastore
            dup
            iconst_2
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        28: .line 133
            aload 6 /* left */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        29: .line 135
            aload 3 /* ic0 */
            aconst_null
            aload 8 /* prev1 */
            invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
        30: .line 136
            aload 5 /* entered */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            dup
            iconst_1
            aload 2 /* tc0 */
            aastore
            dup
            iconst_2
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        31: .line 137
            aload 6 /* left */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            dup
            iconst_1
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        32: .line 139
            aload 2 /* tc0 */
            aconst_null
            aload 4 /* prev */
            invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
        33: .line 140
            aload 5 /* entered */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            dup
            iconst_1
            aload 2 /* tc0 */
            aastore
            dup
            iconst_2
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        34: .line 141
            aload 6 /* left */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            dup
            iconst_1
            aload 3 /* ic0 */
            aastore
            dup
            iconst_2
            aload 2 /* tc0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        35: .line 143
            aload 7 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
        36: .line 144
            aload 2 /* tc0 */
            aconst_null
            invokevirtual com.oracle.truffle.api.TruffleContext.enter:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
            astore 4 /* prev */
        37: .line 145
            aload 3 /* ic0 */
            aconst_null
            invokevirtual com.oracle.truffle.api.TruffleContext.enter:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
            astore 8 /* prev1 */
        38: .line 146
            aload 3 /* ic0 */
            aconst_null
            aload 8 /* prev1 */
            invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
        39: .line 147
            aload 2 /* tc0 */
            aconst_null
            aload 4 /* prev */
            invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
        40: .line 149
            aload 5 /* entered */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            dup
            iconst_1
            aload 2 /* tc0 */
            aastore
            dup
            iconst_2
            aload 3 /* ic0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        41: .line 150
            aload 6 /* left */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* ic0 */
            aastore
            dup
            iconst_1
            aload 3 /* ic0 */
            aastore
            dup
            iconst_2
            aload 2 /* tc0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        42: .line 151
            return
        end local 8 // java.lang.Object prev1
        end local 7 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 6 // java.util.List left
        end local 5 // java.util.List entered
        end local 4 // java.lang.Object prev
        end local 3 // com.oracle.truffle.api.TruffleContext ic0
        end local 2 // com.oracle.truffle.api.TruffleContext tc0
        end local 1 // org.graalvm.polyglot.Context c0
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   43     0     this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
            2   43     1       c0  Lorg/graalvm/polyglot/Context;
            3   43     2      tc0  Lcom/oracle/truffle/api/TruffleContext;
            5   43     3      ic0  Lcom/oracle/truffle/api/TruffleContext;
            6   43     4     prev  Ljava/lang/Object;
           10   43     5  entered  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
           11   43     6     left  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
           12   43     7  binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<*>;
           27   43     8    prev1  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultiContext();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=9, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 155
            invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
            astore 1 /* engine */
        start local 1 // org.graalvm.polyglot.Engine engine
         1: .line 156
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 1 /* 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;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$3
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$3.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         2: .line 162
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            astore 2 /* c0 */
        start local 2 // org.graalvm.polyglot.Context c0
         3: .line 163
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 3 /* tc0 */
        start local 3 // com.oracle.truffle.api.TruffleContext tc0
         4: .line 165
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 1 /* 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;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$4
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$4.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         5: .line 172
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            astore 4 /* c1 */
        start local 4 // org.graalvm.polyglot.Context c1
         6: .line 173
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 5 /* tc1 */
        start local 5 // com.oracle.truffle.api.TruffleContext tc1
         7: .line 175
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 6 /* entered */
        start local 6 // java.util.List entered
         8: .line 176
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 7 /* left */
        start local 7 // java.util.List left
         9: .line 178
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$5
            dup
            aload 0 /* this */
            aload 6 /* entered */
            aload 7 /* left */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$5.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;Ljava/util/List;Ljava/util/List;)V
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachThreadsActivationListener:(Lcom/oracle/truffle/api/instrumentation/ThreadsActivationListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 8 /* binding */
        start local 8 // com.oracle.truffle.api.instrumentation.EventBinding binding
        10: .line 190
            aload 6 /* entered */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        11: .line 191
            aload 7 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        12: .line 193
            aload 2 /* c0 */
            invokevirtual org.graalvm.polyglot.Context.enter:()V
        13: .line 195
            aload 6 /* entered */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* tc0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        14: .line 196
            aload 7 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        15: .line 197
            aload 4 /* c1 */
            invokevirtual org.graalvm.polyglot.Context.enter:()V
        16: .line 199
            aload 6 /* entered */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* tc0 */
            aastore
            dup
            iconst_1
            aload 5 /* tc1 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        17: .line 200
            aload 7 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        18: .line 202
            aload 4 /* c1 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        19: .line 203
            aload 6 /* entered */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* tc0 */
            aastore
            dup
            iconst_1
            aload 5 /* tc1 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        20: .line 204
            aload 7 /* left */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 5 /* tc1 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        21: .line 206
            aload 2 /* c0 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        22: .line 208
            aload 6 /* entered */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* tc0 */
            aastore
            dup
            iconst_1
            aload 5 /* tc1 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        23: .line 209
            aload 7 /* left */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 5 /* tc1 */
            aastore
            dup
            iconst_1
            aload 3 /* tc0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        24: .line 211
            aload 8 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
        25: .line 213
            aload 2 /* c0 */
            invokevirtual org.graalvm.polyglot.Context.enter:()V
        26: .line 214
            aload 4 /* c1 */
            invokevirtual org.graalvm.polyglot.Context.enter:()V
        27: .line 215
            aload 4 /* c1 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        28: .line 216
            aload 2 /* c0 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        29: .line 218
            aload 6 /* entered */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* tc0 */
            aastore
            dup
            iconst_1
            aload 5 /* tc1 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        30: .line 219
            aload 7 /* left */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 5 /* tc1 */
            aastore
            dup
            iconst_1
            aload 3 /* tc0 */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        31: .line 221
            aload 2 /* c0 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        32: .line 222
            aload 4 /* c1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        33: .line 223
            aload 1 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
        34: .line 224
            return
        end local 8 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 7 // java.util.List left
        end local 6 // java.util.List entered
        end local 5 // com.oracle.truffle.api.TruffleContext tc1
        end local 4 // org.graalvm.polyglot.Context c1
        end local 3 // com.oracle.truffle.api.TruffleContext tc0
        end local 2 // org.graalvm.polyglot.Context c0
        end local 1 // org.graalvm.polyglot.Engine engine
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   35     0     this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
            1   35     1   engine  Lorg/graalvm/polyglot/Engine;
            3   35     2       c0  Lorg/graalvm/polyglot/Context;
            4   35     3      tc0  Lcom/oracle/truffle/api/TruffleContext;
            6   35     4       c1  Lorg/graalvm/polyglot/Context;
            7   35     5      tc1  Lcom/oracle/truffle/api/TruffleContext;
            8   35     6  entered  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
            9   35     7     left  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
           10   35     8  binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<*>;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testSingleContext();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 228
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$6
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$6.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 234
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* entered */
        start local 1 // java.util.List entered
         2: .line 235
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* left */
        start local 2 // java.util.List left
         3: .line 236
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$7
            dup
            aload 0 /* this */
            aload 1 /* entered */
            aload 2 /* left */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$7.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;Ljava/util/List;Ljava/util/List;)V
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachThreadsActivationListener:(Lcom/oracle/truffle/api/instrumentation/ThreadsActivationListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 3 /* binding */
        start local 3 // com.oracle.truffle.api.instrumentation.EventBinding binding
         4: .line 248
            aload 1 /* entered */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
         5: .line 249
            aload 2 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
         6: .line 250
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
         7: .line 252
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 4 /* to */
        start local 4 // com.oracle.truffle.api.TruffleContext to
         8: .line 253
            aload 1 /* entered */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
         9: .line 254
            aload 2 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        10: .line 256
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        11: .line 257
            aload 1 /* entered */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        12: .line 258
            aload 2 /* left */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        13: .line 260
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
        14: .line 261
            aload 1 /* entered */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        15: .line 262
            aload 2 /* left */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        16: .line 263
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
        17: .line 264
            aload 1 /* entered */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            dup
            iconst_2
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        18: .line 265
            aload 2 /* left */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        19: .line 267
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        20: .line 268
            aload 1 /* entered */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            dup
            iconst_2
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        21: .line 269
            aload 2 /* left */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        22: .line 270
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        23: .line 271
            aload 1 /* entered */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            dup
            iconst_2
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        24: .line 272
            aload 2 /* left */
            iconst_3
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            dup
            iconst_2
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        25: .line 274
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            ldc "proxyLanguage"
            ldc ""
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
        26: .line 275
            aload 1 /* entered */
            iconst_4
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            dup
            iconst_2
            aload 4 /* to */
            aastore
            dup
            iconst_3
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        27: .line 276
            aload 2 /* left */
            iconst_4
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            dup
            iconst_2
            aload 4 /* to */
            aastore
            dup
            iconst_3
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        28: .line 278
            aload 3 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
        29: .line 279
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
        30: .line 280
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        31: .line 281
            aload 1 /* entered */
            iconst_4
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            dup
            iconst_2
            aload 4 /* to */
            aastore
            dup
            iconst_3
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        32: .line 282
            aload 2 /* left */
            iconst_4
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 4 /* to */
            aastore
            dup
            iconst_1
            aload 4 /* to */
            aastore
            dup
            iconst_2
            aload 4 /* to */
            aastore
            dup
            iconst_3
            aload 4 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        33: .line 283
            return
        end local 4 // com.oracle.truffle.api.TruffleContext to
        end local 3 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 2 // java.util.List left
        end local 1 // java.util.List entered
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   34     0     this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
            2   34     1  entered  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
            3   34     2     left  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
            4   34     3  binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<*>;
            8   34     4       to  Lcom/oracle/truffle/api/TruffleContext;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testMultiThreading();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=5, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 287
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$8
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$8.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 298
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 1 /* entered */
        start local 1 // java.util.List entered
         2: .line 299
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 2 /* left */
        start local 2 // java.util.List left
         3: .line 300
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$9
            dup
            aload 0 /* this */
            aload 1 /* entered */
            aload 2 /* left */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$9.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;Ljava/util/List;Ljava/util/List;)V
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachThreadsActivationListener:(Lcom/oracle/truffle/api/instrumentation/ThreadsActivationListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            pop
         4: .line 316
            aload 1 /* entered */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
         5: .line 317
            aload 2 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
         6: .line 318
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.languageEnv:Lcom/oracle/truffle/api/TruffleLanguage$Env;
            invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.getContext:()Lcom/oracle/truffle/api/TruffleContext;
            astore 3 /* to */
        start local 3 // com.oracle.truffle.api.TruffleContext to
         7: .line 320
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
         8: .line 321
            aload 1 /* entered */
            iconst_1
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
         9: .line 322
            aload 2 /* left */
            iconst_0
            anewarray com.oracle.truffle.api.TruffleContext
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        10: .line 324
            new java.lang.Thread
            dup
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$10
            dup
            aload 0 /* this */
            aload 1 /* entered */
            aload 3 /* to */
            aload 2 /* left */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$10.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;Ljava/util/List;Lcom/oracle/truffle/api/TruffleContext;Ljava/util/List;)V
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;)V
            astore 4 /* t */
        start local 4 // java.lang.Thread t
        11: .line 336
            aload 4 /* t */
            invokevirtual java.lang.Thread.start:()V
        12: .line 337
            aload 4 /* t */
            invokevirtual java.lang.Thread.join:()V
        13: .line 339
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        14: .line 340
            aload 1 /* entered */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* to */
            aastore
            dup
            iconst_1
            aload 3 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        15: .line 341
            aload 2 /* left */
            iconst_2
            anewarray com.oracle.truffle.api.TruffleContext
            dup
            iconst_0
            aload 3 /* to */
            aastore
            dup
            iconst_1
            aload 3 /* to */
            aastore
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertList:(Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
        16: .line 342
            return
        end local 4 // java.lang.Thread t
        end local 3 // com.oracle.truffle.api.TruffleContext to
        end local 2 // java.util.List left
        end local 1 // java.util.List entered
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   17     0     this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
            2   17     1  entered  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
            3   17     2     left  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
            7   17     3       to  Lcom/oracle/truffle/api/TruffleContext;
           11   17     4        t  Ljava/lang/Thread;
    Exceptions:
      throws java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testExceptionFromOnEnterThread();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 346
            aload 0 /* this */
            aload 0 /* this */
            invokedynamic run(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)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/ThreadsActivationListenerTest.lambda$0()V (7)
                  ()V
         1: .line 354
            iconst_1
            iconst_0
         2: .line 346
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.testExceptionImpl:(Ljava/lang/Runnable;ZZ)V
         3: .line 355
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testExceptionFromOnLeaveThread();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 359
            aload 0 /* this */
            aload 0 /* this */
            invokedynamic run(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)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/ThreadsActivationListenerTest.lambda$2()V (7)
                  ()V
         1: .line 368
            iconst_0
            iconst_1
         2: .line 359
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.testExceptionImpl:(Ljava/lang/Runnable;ZZ)V
         3: .line 369
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testExceptionFromBoth();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 373
            aload 0 /* this */
            aload 0 /* this */
            invokedynamic run(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)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/ThreadsActivationListenerTest.lambda$4()V (7)
                  ()V
         1: .line 381
            iconst_1
            iconst_1
         2: .line 373
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.testExceptionImpl:(Ljava/lang/Runnable;ZZ)V
         3: .line 382
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private void testExceptionImpl(java.lang.Runnable, boolean, boolean);
    descriptor: (Ljava/lang/Runnable;ZZ)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=7, args_size=4
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
        start local 1 // java.lang.Runnable body
        start local 2 // boolean throwOnEnter
        start local 3 // boolean throwOnLeave
         0: .line 385
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$11
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$11.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)V
            invokevirtual com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.setupEnv:(Lorg/graalvm/polyglot/Context;Lcom/oracle/truffle/api/test/polyglot/ProxyLanguage;)V
         1: .line 392
            new com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$12
            dup
            aload 0 /* this */
            iload 2 /* throwOnEnter */
            iload 3 /* throwOnLeave */
            invokespecial com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$12.<init>:(Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;ZZ)V
            astore 4 /* listener */
        start local 4 // com.oracle.truffle.api.instrumentation.ThreadsActivationListener listener
         2: .line 409
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.instrumentEnv:Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
            invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
            aload 4 /* listener */
            invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachThreadsActivationListener:(Lcom/oracle/truffle/api/instrumentation/ThreadsActivationListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
            astore 5 /* binding */
        start local 5 // com.oracle.truffle.api.instrumentation.EventBinding binding
         3: .line 411
            aload 1 /* body */
            invokeinterface java.lang.Runnable.run:()V
         4: .line 412
            goto 8
      StackMap locals: com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest java.lang.Runnable int int com.oracle.truffle.api.instrumentation.ThreadsActivationListener com.oracle.truffle.api.instrumentation.EventBinding
      StackMap stack: java.lang.Throwable
         5: astore 6
         6: .line 413
            aload 5 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
         7: .line 414
            aload 6
            athrow
         8: .line 413
      StackMap locals:
      StackMap stack:
            aload 5 /* binding */
            invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
         9: .line 415
            return
        end local 5 // com.oracle.truffle.api.instrumentation.EventBinding binding
        end local 4 // com.oracle.truffle.api.instrumentation.ThreadsActivationListener listener
        end local 3 // boolean throwOnLeave
        end local 2 // boolean throwOnEnter
        end local 1 // java.lang.Runnable body
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   10     0          this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
            0   10     1          body  Ljava/lang/Runnable;
            0   10     2  throwOnEnter  Z
            0   10     3  throwOnLeave  Z
            2   10     4      listener  Lcom/oracle/truffle/api/instrumentation/ThreadsActivationListener;
            3   10     5       binding  Lcom/oracle/truffle/api/instrumentation/EventBinding<+Lcom/oracle/truffle/api/instrumentation/ThreadsActivationListener;>;
      Exception table:
        from    to  target  type
           3     5       5  any
    MethodParameters:
              Name  Flags
      body          
      throwOnEnter  
      throwOnLeave  

  private static void assertList(java.util.List<com.oracle.truffle.api.TruffleContext>, com.oracle.truffle.api.TruffleContext[]);
    descriptor: (Ljava/util/List;[Lcom/oracle/truffle/api/TruffleContext;)V
    flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // java.util.List list
        start local 1 // com.oracle.truffle.api.TruffleContext[] expectedContexts
         0: .line 418
            aload 1 /* expectedContexts */
            arraylength
            i2l
            aload 0 /* list */
            invokeinterface java.util.List.size:()I
            i2l
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         1: .line 419
            iconst_0
            istore 2 /* i */
        start local 2 // int i
         2: goto 5
         3: .line 420
      StackMap locals: int
      StackMap stack:
            aload 1 /* expectedContexts */
            iload 2 /* i */
            aaload
            aload 0 /* list */
            iload 2 /* i */
            invokeinterface java.util.List.get:(I)Ljava/lang/Object;
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/Object;Ljava/lang/Object;)V
         4: .line 419
            iinc 2 /* i */ 1
      StackMap locals:
      StackMap stack:
         5: iload 2 /* i */
            aload 1 /* expectedContexts */
            arraylength
            if_icmplt 3
        end local 2 // int i
         6: .line 422
            return
        end local 1 // com.oracle.truffle.api.TruffleContext[] expectedContexts
        end local 0 // java.util.List list
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    7     0              list  Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;
            0    7     1  expectedContexts  [Lcom/oracle/truffle/api/TruffleContext;
            2    6     2                 i  I
    Signature: (Ljava/util/List<Lcom/oracle/truffle/api/TruffleContext;>;[Lcom/oracle/truffle/api/TruffleContext;)V
    MethodParameters:
                  Name  Flags
      list              
      expectedContexts  

  static org.graalvm.polyglot.Context access$0(com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest);
    descriptor: (Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;)Lorg/graalvm/polyglot/Context;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 67
            aload 0
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$0();
    descriptor: ()V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 348
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
         1: .line 349
            ldc "Expected a PolyglotException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         2: .line 350
            goto 5
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         3: astore 1 /* pe */
        start local 1 // org.graalvm.polyglot.PolyglotException pe
         4: .line 351
            aload 1 /* pe */
            invokevirtual org.graalvm.polyglot.PolyglotException.isInternalError:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 1 // org.graalvm.polyglot.PolyglotException pe
         5: .line 353
      StackMap locals:
      StackMap stack:
            invokedynamic call()Ljava/util/concurrent/Callable;
              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;
                  com/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest.lambda$1()Ljava/lang/Object; (6)
                  ()Ljava/lang/Object;
            ldc Ljava/lang/IllegalStateException;
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertFails:(Ljava/util/concurrent/Callable;Ljava/lang/Class;)V
         6: .line 354
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
            4    5     1    pe  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           0     2       3  Class org.graalvm.polyglot.PolyglotException

  private void lambda$2();
    descriptor: ()V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 360
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
         1: .line 362
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         2: .line 363
            ldc "Expected a PolyglotException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         3: .line 364
            goto 6
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         4: astore 1 /* pe */
        start local 1 // org.graalvm.polyglot.PolyglotException pe
         5: .line 365
            aload 1 /* pe */
            invokevirtual org.graalvm.polyglot.PolyglotException.isInternalError:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 1 // org.graalvm.polyglot.PolyglotException pe
         6: .line 367
      StackMap locals:
      StackMap stack:
            invokedynamic call()Ljava/util/concurrent/Callable;
              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;
                  com/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest.lambda$3()Ljava/lang/Object; (6)
                  ()Ljava/lang/Object;
            ldc Ljava/lang/IllegalStateException;
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertFails:(Ljava/util/concurrent/Callable;Ljava/lang/Class;)V
         7: .line 368
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
            5    6     1    pe  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           1     3       4  Class org.graalvm.polyglot.PolyglotException

  private void lambda$4();
    descriptor: ()V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
         0: .line 375
            aload 0 /* this */
            getfield com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.context:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.enter:()V
         1: .line 376
            ldc "Expected a PolyglotException"
            invokestatic org.junit.Assert.fail:(Ljava/lang/String;)V
         2: .line 377
            goto 5
      StackMap locals:
      StackMap stack: org.graalvm.polyglot.PolyglotException
         3: astore 1 /* pe */
        start local 1 // org.graalvm.polyglot.PolyglotException pe
         4: .line 378
            aload 1 /* pe */
            invokevirtual org.graalvm.polyglot.PolyglotException.isInternalError:()Z
            invokestatic org.junit.Assert.assertTrue:(Z)V
        end local 1 // org.graalvm.polyglot.PolyglotException pe
         5: .line 380
      StackMap locals:
      StackMap stack:
            invokedynamic call()Ljava/util/concurrent/Callable;
              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;
                  com/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest.lambda$5()Ljava/lang/Object; (6)
                  ()Ljava/lang/Object;
            ldc Ljava/lang/IllegalStateException;
            invokestatic com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest.assertFails:(Ljava/util/concurrent/Callable;Ljava/lang/Class;)V
         6: .line 381
            return
        end local 0 // com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Lcom/oracle/truffle/api/instrumentation/test/ThreadsActivationListenerTest;
            4    5     1    pe  Lorg/graalvm/polyglot/PolyglotException;
      Exception table:
        from    to  target  type
           0     2       3  Class org.graalvm.polyglot.PolyglotException

  private static java.lang.Object lambda$1();
    descriptor: ()Ljava/lang/Object;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 353
            invokestatic org.graalvm.polyglot.Context.getCurrent:()Lorg/graalvm/polyglot/Context;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception

  private static java.lang.Object lambda$3();
    descriptor: ()Ljava/lang/Object;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 367
            invokestatic org.graalvm.polyglot.Context.getCurrent:()Lorg/graalvm/polyglot/Context;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception

  private static java.lang.Object lambda$5();
    descriptor: ()Ljava/lang/Object;
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 380
            invokestatic org.graalvm.polyglot.Context.getCurrent:()Lorg/graalvm/polyglot/Context;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.Exception
}
SourceFile: "ThreadsActivationListenerTest.java"
NestMembers:
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$1  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$10  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$11  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$12  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$2  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$3  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$4  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$5  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$6  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$7  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$8  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$9
InnerClasses:
  public final Builder = com.oracle.truffle.api.TruffleContext$Builder of com.oracle.truffle.api.TruffleContext
  public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
  public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$1
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$10
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$11
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$12
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$2
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$3
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$4
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$5
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$6
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$7
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$8
  com.oracle.truffle.api.instrumentation.test.ThreadsActivationListenerTest$9
  public LanguageContext = com.oracle.truffle.api.test.polyglot.ProxyLanguage$LanguageContext of com.oracle.truffle.api.test.polyglot.ProxyLanguage
  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