public class org.graalvm.compiler.truffle.test.ContextLookupCompilationTest extends org.graalvm.compiler.truffle.test.PartialEvaluationTest
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
  super_class: org.graalvm.compiler.truffle.test.PartialEvaluationTest
{
  static final java.lang.String EXCLUSIVE_LANGUAGE;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "ContextLookupCompilationTestExclusive"

  static final java.lang.String SHARED_LANGUAGE;
    descriptor: Ljava/lang/String;
    flags: (0x0018) ACC_STATIC, ACC_FINAL
    ConstantValue: "ContextLookupCompilationTestShared"

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

  public void setup();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=0, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 76
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.resetSingleContextState:()V
         1: .line 77
            return
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  private static org.graalvm.polyglot.Engine createEngine(org.graalvm.polyglot.Engine$Builder);
    descriptor: (Lorg/graalvm/polyglot/Engine$Builder;)Lorg/graalvm/polyglot/Engine;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Engine$Builder engineBuilder
         0: .line 80
            aload 0 /* engineBuilder */
            iconst_1
            invokevirtual org.graalvm.polyglot.Engine$Builder.allowExperimentalOptions:(Z)Lorg/graalvm/polyglot/Engine$Builder;
            ldc "engine.CompileImmediately"
            ldc "false"
            invokevirtual org.graalvm.polyglot.Engine$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Engine$Builder;
            invokevirtual org.graalvm.polyglot.Engine$Builder.build:()Lorg/graalvm/polyglot/Engine;
            areturn
        end local 0 // org.graalvm.polyglot.Engine$Builder engineBuilder
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    1     0  engineBuilder  Lorg/graalvm/polyglot/Engine$Builder;
    MethodParameters:
               Name  Flags
      engineBuilder  

  private static org.graalvm.polyglot.Context createContext(org.graalvm.polyglot.Engine);
    descriptor: (Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Engine engine
         0: .line 84
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            aload 0 /* 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;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.enter:(Lorg/graalvm/polyglot/Context;)Lorg/graalvm/polyglot/Context;
            areturn
        end local 0 // org.graalvm.polyglot.Engine engine
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    1     0  engine  Lorg/graalvm/polyglot/Engine;
    MethodParameters:
        Name  Flags
      engine  

  private static org.graalvm.polyglot.Context createContext(org.graalvm.polyglot.Context$Builder);
    descriptor: (Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Context$Builder contextBuilder
         0: .line 88
            aload 0 /* contextBuilder */
            iconst_1
            invokevirtual org.graalvm.polyglot.Context$Builder.allowExperimentalOptions:(Z)Lorg/graalvm/polyglot/Context$Builder;
            ldc "engine.CompileImmediately"
            ldc "false"
            invokevirtual org.graalvm.polyglot.Context$Builder.option:(Ljava/lang/String;Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.enter:(Lorg/graalvm/polyglot/Context;)Lorg/graalvm/polyglot/Context;
            areturn
        end local 0 // org.graalvm.polyglot.Context$Builder contextBuilder
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    1     0  contextBuilder  Lorg/graalvm/polyglot/Context$Builder;
    MethodParameters:
                Name  Flags
      contextBuilder  

  private static org.graalvm.polyglot.Context enter(org.graalvm.polyglot.Context);
    descriptor: (Lorg/graalvm/polyglot/Context;)Lorg/graalvm/polyglot/Context;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.graalvm.polyglot.Context context
         0: .line 92
            aload 0 /* context */
            ldc "ContextLookupCompilationTestExclusive"
            invokevirtual org.graalvm.polyglot.Context.initialize:(Ljava/lang/String;)Z
            pop
         1: .line 93
            aload 0 /* context */
            ldc "ContextLookupCompilationTestShared"
            invokevirtual org.graalvm.polyglot.Context.initialize:(Ljava/lang/String;)Z
            pop
         2: .line 94
            aload 0 /* context */
            invokevirtual org.graalvm.polyglot.Context.enter:()V
         3: .line 95
            aload 0 /* context */
            areturn
        end local 0 // org.graalvm.polyglot.Context context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0  context  Lorg/graalvm/polyglot/Context;
    MethodParameters:
         Name  Flags
      context  

  public void testContextLocalRead();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=4, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 100
            invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
            astore 1 /* engine */
        start local 1 // org.graalvm.polyglot.Engine engine
         1: .line 101
            aload 1 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            pop
         2: .line 102
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            astore 2 /* language */
        start local 2 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared language
         3: .line 104
            aload 0 /* this */
            aload 2 /* language */
            bipush 50
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContextLocalRead:(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;I)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         4: .line 105
            ldc "Invalid number of magic number reads."
            lconst_1
         5: .line 106
            aload 0 /* this */
            aload 0 /* this */
            getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.lastCompiledGraph:Lorg/graalvm/compiler/nodes/StructuredGraph;
            ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
            ldc "magicNumber"
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.countFieldReads:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;Ljava/lang/String;)I
            i2l
         6: .line 105
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
         7: .line 109
            aload 1 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            astore 3 /* c1 */
        start local 3 // org.graalvm.polyglot.Context c1
         8: .line 110
            aload 0 /* this */
            aload 2 /* language */
            bipush 50
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContextLocalRead:(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;I)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         9: .line 111
            ldc "Invalid number of magic number reads."
            lconst_1
        10: .line 112
            aload 0 /* this */
            aload 0 /* this */
            getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.lastCompiledGraph:Lorg/graalvm/compiler/nodes/StructuredGraph;
            ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
            ldc "magicNumber"
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.countFieldReads:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;Ljava/lang/String;)I
            i2l
        11: .line 111
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
        12: .line 113
            aload 3 /* c1 */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.touchOnThread:(Lorg/graalvm/polyglot/Context;)V
        13: .line 118
            aload 0 /* this */
            aload 2 /* language */
            bipush 50
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContextLocalRead:(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;I)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        14: .line 119
            ldc "Invalid number of magic number reads."
            ldc 50
        15: .line 120
            aload 0 /* this */
            aload 0 /* this */
            getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.lastCompiledGraph:Lorg/graalvm/compiler/nodes/StructuredGraph;
            ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
            ldc "magicNumber"
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.countFieldReads:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;Ljava/lang/String;)I
            i2l
        16: .line 119
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
        17: .line 121
            return
        end local 3 // org.graalvm.polyglot.Context c1
        end local 2 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared language
        end local 1 // org.graalvm.polyglot.Engine engine
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   18     0      this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   18     1    engine  Lorg/graalvm/polyglot/Engine;
            3   18     2  language  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            8   18     3        c1  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static com.oracle.truffle.api.nodes.RootNode createContextLocalRead(org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared, int);
    descriptor: (Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;I)Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared language
        start local 1 // int lookups
         0: .line 124
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$1
            dup
            aload 0 /* language */
            iload 1 /* lookups */
            aload 0 /* language */
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$1.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;ILorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;)V
            astore 2 /* root */
        start local 2 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 136
            aload 2 /* root */
            areturn
        end local 2 // com.oracle.truffle.api.nodes.RootNode root
        end local 1 // int lookups
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared language
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0  language  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            0    2     1   lookups  I
            1    2     2      root  Lcom/oracle/truffle/api/nodes/RootNode;
    MethodParameters:
          Name  Flags
      language  
      lookups   

  public void testContextThreadLocalRead();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=4, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 141
            invokestatic org.graalvm.polyglot.Engine.create:()Lorg/graalvm/polyglot/Engine;
            astore 1 /* engine */
        start local 1 // org.graalvm.polyglot.Engine engine
         1: .line 142
            aload 1 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            astore 2 /* c */
        start local 2 // org.graalvm.polyglot.Context c
         2: .line 143
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            astore 3 /* language */
        start local 3 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared language
         3: .line 145
            aload 0 /* this */
            aload 3 /* language */
            bipush 50
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContextThreadLocalRead:(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;I)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         4: .line 146
            ldc "Invalid number of magic number reads."
            lconst_1
         5: .line 147
            aload 0 /* this */
            aload 0 /* this */
            getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.lastCompiledGraph:Lorg/graalvm/compiler/nodes/StructuredGraph;
            ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
            ldc "magicNumber"
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.countFieldReads:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;Ljava/lang/String;)I
            i2l
         6: .line 146
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
         7: .line 150
            aload 1 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            pop
         8: .line 151
            aload 0 /* this */
            aload 3 /* language */
            bipush 50
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContextThreadLocalRead:(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;I)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         9: .line 152
            ldc "Invalid number of magic number reads."
            lconst_1
        10: .line 153
            aload 0 /* this */
            aload 0 /* this */
            getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.lastCompiledGraph:Lorg/graalvm/compiler/nodes/StructuredGraph;
            ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$ContextLocalValue;
            ldc "magicNumber"
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.countFieldReads:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;Ljava/lang/String;)I
            i2l
        11: .line 152
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
        12: .line 155
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2
            dup
            aload 0 /* this */
            aload 2 /* c */
            aload 3 /* language */
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2.<init>:(Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;Lorg/graalvm/polyglot/Context;Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;)V
        13: .line 164
            bipush 10
        14: .line 155
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.submitOnThreads:(Ljava/lang/Runnable;I)V
        15: .line 166
            return
        end local 3 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared language
        end local 2 // org.graalvm.polyglot.Context c
        end local 1 // org.graalvm.polyglot.Engine engine
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   16     0      this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   16     1    engine  Lorg/graalvm/polyglot/Engine;
            2   16     2         c  Lorg/graalvm/polyglot/Context;
            3   16     3  language  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
    Exceptions:
      throws java.lang.Throwable
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static void submitOnThreads(java.lang.Runnable, int);
    descriptor: (Ljava/lang/Runnable;I)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=7, args_size=2
        start local 0 // java.lang.Runnable run
        start local 1 // int numberOfThreads
         0: .line 169
            iload 1 /* numberOfThreads */
            invokestatic java.util.concurrent.Executors.newFixedThreadPool:(I)Ljava/util/concurrent/ExecutorService;
            astore 2 /* service */
        start local 2 // java.util.concurrent.ExecutorService service
         1: .line 171
            new java.util.ArrayList
            dup
            invokespecial java.util.ArrayList.<init>:()V
            astore 3 /* futures */
        start local 3 // java.util.List futures
         2: .line 172
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         3: goto 6
         4: .line 173
      StackMap locals: java.util.concurrent.ExecutorService java.util.List int
      StackMap stack:
            aload 3 /* futures */
            aload 2 /* service */
            aload 0 /* run */
            invokeinterface java.util.concurrent.ExecutorService.submit:(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
            invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
            pop
         5: .line 172
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
         6: iload 4 /* i */
            iload 1 /* numberOfThreads */
            if_icmplt 4
        end local 4 // int i
         7: .line 175
            aload 3 /* futures */
            invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
            astore 5
            goto 13
      StackMap locals: java.lang.Runnable int java.util.concurrent.ExecutorService java.util.List top java.util.Iterator
      StackMap stack:
         8: aload 5
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast java.util.concurrent.Future
            astore 4 /* future */
        start local 4 // java.util.concurrent.Future future
         9: .line 177
            aload 4 /* future */
            invokeinterface java.util.concurrent.Future.get:()Ljava/lang/Object;
            pop
        10: .line 178
            goto 13
      StackMap locals: java.lang.Runnable int java.util.concurrent.ExecutorService java.util.List java.util.concurrent.Future java.util.Iterator
      StackMap stack: java.util.concurrent.ExecutionException
        11: astore 6 /* e */
        start local 6 // java.util.concurrent.ExecutionException e
        12: .line 179
            aload 6 /* e */
            invokevirtual java.util.concurrent.ExecutionException.getCause:()Ljava/lang/Throwable;
            athrow
        end local 6 // java.util.concurrent.ExecutionException e
        end local 4 // java.util.concurrent.Future future
        13: .line 175
      StackMap locals: java.lang.Runnable int java.util.concurrent.ExecutorService java.util.List top java.util.Iterator
      StackMap stack:
            aload 5
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 8
        14: .line 183
            aload 2 /* service */
            invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
        15: .line 184
            aload 2 /* service */
            ldc 10000
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokeinterface java.util.concurrent.ExecutorService.awaitTermination:(JLjava/util/concurrent/TimeUnit;)Z
            pop
        16: .line 185
            return
        end local 3 // java.util.List futures
        end local 2 // java.util.concurrent.ExecutorService service
        end local 1 // int numberOfThreads
        end local 0 // java.lang.Runnable run
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0   17     0              run  Ljava/lang/Runnable;
            0   17     1  numberOfThreads  I
            1   17     2          service  Ljava/util/concurrent/ExecutorService;
            2   17     3          futures  Ljava/util/List<Ljava/util/concurrent/Future<*>;>;
            3    7     4                i  I
            9   13     4           future  Ljava/util/concurrent/Future<*>;
           12   13     6                e  Ljava/util/concurrent/ExecutionException;
      Exception table:
        from    to  target  type
           9    10      11  Class java.util.concurrent.ExecutionException
    Exceptions:
      throws java.lang.Throwable
    MethodParameters:
                 Name  Flags
      run              
      numberOfThreads  

  private static com.oracle.truffle.api.nodes.RootNode createContextThreadLocalRead(org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared, int);
    descriptor: (Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;I)Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared language
        start local 1 // int lookups
         0: .line 188
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$3
            dup
            aload 0 /* language */
            iload 1 /* lookups */
            aload 0 /* language */
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$3.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;ILorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;)V
            astore 2 /* root */
        start local 2 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 200
            aload 2 /* root */
            areturn
        end local 2 // com.oracle.truffle.api.nodes.RootNode root
        end local 1 // int lookups
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared language
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0  language  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            0    2     1   lookups  I
            1    2     2      root  Lcom/oracle/truffle/api/nodes/RootNode;
    MethodParameters:
          Name  Flags
      language  
      lookups   

  public void testNoSharingContextMultiThreading();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 207
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 208
            aload 1 /* context */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.touchOnThread:(Lorg/graalvm/polyglot/Context;)V
         2: .line 209
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         3: .line 210
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         4: .line 211
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
         5: .line 213
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
         6: .line 214
            aload 1 /* context */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.touchOnThread:(Lorg/graalvm/polyglot/Context;)V
         7: .line 215
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         8: .line 216
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         9: .line 217
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        10: .line 218
            return
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   11     0     this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   11     1  context  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testTwoContextMultiThreading();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 224
            invokestatic org.graalvm.polyglot.Engine.newBuilder:()Lorg/graalvm/polyglot/Engine$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createEngine:(Lorg/graalvm/polyglot/Engine$Builder;)Lorg/graalvm/polyglot/Engine;
            astore 2 /* engine */
        start local 2 // org.graalvm.polyglot.Engine engine
         1: .line 226
            aload 2 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         2: .line 227
            aload 1 /* context */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.touchOnThread:(Lorg/graalvm/polyglot/Context;)V
         3: .line 228
            aload 0 /* this */
            iconst_0
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsSharedMultipleThreads:(Z)V
         4: .line 229
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         5: .line 230
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
         6: .line 232
            aload 2 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
         7: .line 233
            aload 1 /* context */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.touchOnThread:(Lorg/graalvm/polyglot/Context;)V
         8: .line 234
            aload 0 /* this */
            iconst_1
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsSharedMultipleThreads:(Z)V
         9: .line 235
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        10: .line 236
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        11: .line 237
            return
        end local 2 // org.graalvm.polyglot.Engine engine
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0     this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            2   12     1  context  Lorg/graalvm/polyglot/Context;
            1   12     2   engine  Lorg/graalvm/polyglot/Engine;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static void touchOnThread(org.graalvm.polyglot.Context);
    descriptor: (Lorg/graalvm/polyglot/Context;)V
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.graalvm.polyglot.Context context
         0: .line 243
            new java.lang.Thread
            dup
            aload 0 /* context */
            invokedynamic run(Lorg/graalvm/polyglot/Context;)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
                  org/graalvm/compiler/truffle/test/ContextLookupCompilationTest.lambda$0(Lorg/graalvm/polyglot/Context;)V (6)
                  ()V
         1: .line 246
            ldc "test"
         2: .line 243
            invokespecial java.lang.Thread.<init>:(Ljava/lang/Runnable;Ljava/lang/String;)V
            astore 1 /* thread */
        start local 1 // java.lang.Thread thread
         3: .line 247
            aload 1 /* thread */
            invokevirtual java.lang.Thread.start:()V
         4: .line 249
            aload 1 /* thread */
            invokevirtual java.lang.Thread.join:()V
         5: .line 250
            goto 7
      StackMap locals: org.graalvm.polyglot.Context java.lang.Thread
      StackMap stack: java.lang.InterruptedException
         6: pop
         7: .line 252
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.lang.Thread thread
        end local 0 // org.graalvm.polyglot.Context context
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0  context  Lorg/graalvm/polyglot/Context;
            3    8     1   thread  Ljava/lang/Thread;
      Exception table:
        from    to  target  type
           4     5       6  Class java.lang.InterruptedException
    MethodParameters:
         Name  Flags
      context  

  public void testInnerContexts();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=5, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 258
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 259
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromRef:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         2: .line 260
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         3: .line 262
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.getCurrentContext:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;
            getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext.env: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 2 /* innerContext */
        start local 2 // com.oracle.truffle.api.TruffleContext innerContext
         4: .line 263
            aload 2 /* innerContext */
            aconst_null
            invokevirtual com.oracle.truffle.api.TruffleContext.enter:(Lcom/oracle/truffle/api/nodes/Node;)Ljava/lang/Object;
            astore 3 /* prev */
        start local 3 // java.lang.Object prev
         5: .line 265
            invokestatic org.graalvm.polyglot.Context.getCurrent:()Lorg/graalvm/polyglot/Context;
            ldc "ContextLookupCompilationTestExclusive"
            invokevirtual org.graalvm.polyglot.Context.initialize:(Ljava/lang/String;)Z
            pop
         6: .line 266
            invokestatic org.graalvm.polyglot.Context.getCurrent:()Lorg/graalvm/polyglot/Context;
            ldc "ContextLookupCompilationTestShared"
            invokevirtual org.graalvm.polyglot.Context.initialize:(Ljava/lang/String;)Z
            pop
         7: .line 267
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsInnerContext:()V
         8: .line 268
            goto 12
      StackMap locals: org.graalvm.compiler.truffle.test.ContextLookupCompilationTest org.graalvm.polyglot.Context com.oracle.truffle.api.TruffleContext java.lang.Object
      StackMap stack: java.lang.Throwable
         9: astore 4
        10: .line 269
            aload 2 /* innerContext */
            aconst_null
            aload 3 /* prev */
            invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
        11: .line 270
            aload 4
            athrow
        12: .line 269
      StackMap locals:
      StackMap stack:
            aload 2 /* innerContext */
            aconst_null
            aload 3 /* prev */
            invokevirtual com.oracle.truffle.api.TruffleContext.leave:(Lcom/oracle/truffle/api/nodes/Node;Ljava/lang/Object;)V
        13: .line 271
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsInnerContext:()V
        14: .line 272
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        15: .line 273
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        16: .line 274
            return
        end local 3 // java.lang.Object prev
        end local 2 // com.oracle.truffle.api.TruffleContext innerContext
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   17     0          this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   17     1       context  Lorg/graalvm/polyglot/Context;
            4   17     2  innerContext  Lcom/oracle/truffle/api/TruffleContext;
            5   17     3          prev  Ljava/lang/Object;
      Exception table:
        from    to  target  type
           5     9       9  any
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRefTwoConsecutiveContexts();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 280
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 281
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromRef:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         2: .line 282
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         3: .line 284
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         4: .line 285
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
         5: .line 287
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
         6: .line 288
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromRef:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         7: .line 289
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         8: .line 290
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         9: .line 291
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        10: .line 292
            return
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   11     0     this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   11     1  context  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private void assertLookupsNoSharing();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 295
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         1: .line 296
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         2: .line 297
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         3: .line 298
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         4: .line 299
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         5: .line 300
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         6: .line 302
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         7: .line 303
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         8: .line 304
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         9: .line 305
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        10: .line 306
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        11: .line 307
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        12: .line 309
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        13: .line 310
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        14: .line 311
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        15: .line 312
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        16: .line 313
            aload 0 /* this */
            iconst_0
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        17: .line 314
            aload 0 /* this */
            iconst_0
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        18: .line 315
            return
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0  this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;

  public void testRefTwoContextsAtTheSameTime();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 319
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context1 */
        start local 1 // org.graalvm.polyglot.Context context1
         1: .line 320
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromRef:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         2: .line 321
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         3: .line 322
            aload 1 /* context1 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         4: .line 324
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 2 /* context2 */
        start local 2 // org.graalvm.polyglot.Context context2
         5: .line 325
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromRef:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         6: .line 326
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         7: .line 327
            aload 2 /* context2 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         8: .line 329
            aload 1 /* context1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
         9: .line 330
            aload 2 /* context2 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        10: .line 331
            return
        end local 2 // org.graalvm.polyglot.Context context2
        end local 1 // org.graalvm.polyglot.Context context1
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   11     1  context1  Lorg/graalvm/polyglot/Context;
            5   11     2  context2  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testRefTwoContextsWithSharedEngine();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 335
            invokestatic org.graalvm.polyglot.Engine.newBuilder:()Lorg/graalvm/polyglot/Engine$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createEngine:(Lorg/graalvm/polyglot/Engine$Builder;)Lorg/graalvm/polyglot/Engine;
            astore 1 /* engine */
        start local 1 // org.graalvm.polyglot.Engine engine
         1: .line 336
            aload 1 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            astore 2 /* context1 */
        start local 2 // org.graalvm.polyglot.Context context1
         2: .line 338
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromRef:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         3: .line 339
            aload 0 /* this */
            iconst_0
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsSharedEngine:(Z)V
         4: .line 341
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createGetFromRef:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            astore 3 /* target */
        start local 3 // org.graalvm.compiler.truffle.runtime.OptimizedCallTarget target
         5: .line 342
            ldc "is valid"
            aload 3 /* target */
            invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertTrue:(Ljava/lang/String;Z)V
         6: .line 343
            aload 3 /* target */
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 344
            ldc "and keeps valid"
            aload 3 /* target */
            invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertTrue:(Ljava/lang/String;Z)V
         8: .line 345
            aload 2 /* context1 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         9: .line 347
            aload 1 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            astore 4 /* context2 */
        start local 4 // org.graalvm.polyglot.Context context2
        10: .line 348
            ldc "still valid in second Context"
            aload 3 /* target */
            invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertTrue:(Ljava/lang/String;Z)V
        11: .line 349
            aload 0 /* this */
            iconst_1
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsSharedEngine:(Z)V
        12: .line 350
            aload 4 /* context2 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        13: .line 352
            aload 2 /* context1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        14: .line 353
            aload 4 /* context2 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        15: .line 354
            aload 1 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
        16: .line 355
            return
        end local 4 // org.graalvm.polyglot.Context context2
        end local 3 // org.graalvm.compiler.truffle.runtime.OptimizedCallTarget target
        end local 2 // org.graalvm.polyglot.Context context1
        end local 1 // org.graalvm.polyglot.Engine engine
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   17     0      this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   17     1    engine  Lorg/graalvm/polyglot/Engine;
            2   17     2  context1  Lorg/graalvm/polyglot/Context;
            5   17     3    target  Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
           10   17     4  context2  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private void assertLookupsInnerContext();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 361
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         1: .line 362
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         2: .line 363
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         3: .line 364
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         4: .line 365
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         5: .line 366
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         6: .line 368
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         7: .line 369
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         8: .line 370
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         9: .line 371
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
        10: .line 372
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        11: .line 373
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        12: .line 375
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        13: .line 376
            aload 0 /* this */
            iconst_1
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        14: .line 377
            aload 0 /* this */
            iconst_1
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        15: .line 378
            aload 0 /* this */
            iconst_1
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        16: .line 379
            aload 0 /* this */
            iconst_1
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        17: .line 380
            aload 0 /* this */
            iconst_1
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        18: .line 381
            return
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   19     0  this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;

  private void assertLookupsSharedEngine(boolean);
    descriptor: (Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
        start local 1 // boolean secondContext
         0: .line 384
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         1: .line 385
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         2: .line 386
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         3: .line 387
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         4: .line 388
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         5: .line 389
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         6: .line 391
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         7: .line 392
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         8: .line 393
            iload 1 /* secondContext */
            ifeq 12
         9: .line 394
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
        10: .line 395
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
        11: .line 396
            goto 14
        12: .line 397
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        13: .line 398
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        14: .line 400
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        15: .line 401
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        16: .line 403
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        17: .line 404
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        18: .line 405
            aload 0 /* this */
            iconst_1
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        19: .line 406
            aload 0 /* this */
            iconst_1
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        20: .line 407
            aload 0 /* this */
            iconst_1
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        21: .line 408
            aload 0 /* this */
            iconst_1
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        22: .line 409
            return
        end local 1 // boolean secondContext
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   23     0           this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            0   23     1  secondContext  Z
    MethodParameters:
               Name  Flags
      secondContext  

  private void assertLookupsSharedMultipleThreads(boolean);
    descriptor: (Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
        start local 1 // boolean secondContext
         0: .line 412
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         1: .line 413
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         2: .line 414
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         3: .line 415
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         4: .line 416
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         5: .line 417
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         6: .line 419
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         7: .line 420
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         8: .line 421
            iload 1 /* secondContext */
            ifeq 12
         9: .line 422
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
        10: .line 423
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
        11: .line 424
            goto 14
        12: .line 425
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        13: .line 426
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        14: .line 428
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        15: .line 429
            aload 0 /* this */
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantLanguageFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
        16: .line 431
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        17: .line 432
            aload 0 /* this */
            iconst_0
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        18: .line 436
            aload 0 /* this */
            bipush 50
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        19: .line 437
            aload 0 /* this */
            bipush 50
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        20: .line 438
            aload 0 /* this */
            bipush 50
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive.get:()Lcom/oracle/truffle/api/TruffleLanguage;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        21: .line 439
            aload 0 /* this */
            bipush 50
            aconst_null
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared.get:()Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$Shared;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertMagicNumberReads:(ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
        22: .line 440
            return
        end local 1 // boolean secondContext
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   23     0           this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            0   23     1  secondContext  Z
    MethodParameters:
               Name  Flags
      secondContext  

  private void assertMagicNumberReads(int, com.oracle.truffle.api.TruffleLanguage<?>, com.oracle.truffle.api.TruffleLanguage<org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext>);
    descriptor: (ILcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=7, locals=4, args_size=4
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
        start local 1 // int expected
        start local 2 // com.oracle.truffle.api.TruffleLanguage sourceLanguage
        start local 3 // com.oracle.truffle.api.TruffleLanguage accessLanguage
         0: .line 443
            aload 0 /* this */
            aload 2 /* sourceLanguage */
            aload 3 /* accessLanguage */
            bipush 50
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContextFromLookup:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;I)Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         1: .line 444
            ldc "Invalid number of magic number reads."
            iload 1 /* expected */
            i2l
            aload 0 /* this */
            aload 0 /* this */
            getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.lastCompiledGraph:Lorg/graalvm/compiler/nodes/StructuredGraph;
            ldc Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;
            ldc "magicNumber"
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.countFieldReads:(Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;Ljava/lang/String;)I
            i2l
            invokestatic org.junit.Assert.assertEquals:(Ljava/lang/String;JJ)V
         2: .line 445
            return
        end local 3 // com.oracle.truffle.api.TruffleLanguage accessLanguage
        end local 2 // com.oracle.truffle.api.TruffleLanguage sourceLanguage
        end local 1 // int expected
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    3     0            this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            0    3     1        expected  I
            0    3     2  sourceLanguage  Lcom/oracle/truffle/api/TruffleLanguage<*>;
            0    3     3  accessLanguage  Lcom/oracle/truffle/api/TruffleLanguage<Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;>;
    Signature: (ILcom/oracle/truffle/api/TruffleLanguage<*>;Lcom/oracle/truffle/api/TruffleLanguage<Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;>;)V
    MethodParameters:
                Name  Flags
      expected        
      sourceLanguage  
      accessLanguage  

  private int countFieldReads(org.graalvm.compiler.nodes.StructuredGraph, java.lang.Class<?>, java.lang.String);
    descriptor: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class;Ljava/lang/String;)I
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=10, args_size=4
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
        start local 1 // org.graalvm.compiler.nodes.StructuredGraph graph
        start local 2 // java.lang.Class clazz
        start local 3 // java.lang.String fieldName
         0: .line 450
            aload 2 /* clazz */
            aload 3 /* fieldName */
            invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
            astore 4 /* field */
        start local 4 // java.lang.reflect.Field field
         1: .line 451
            goto 4
        end local 4 // java.lang.reflect.Field field
      StackMap locals:
      StackMap stack: java.lang.Exception
         2: astore 5 /* e */
        start local 5 // java.lang.Exception e
         3: .line 452
            new java.lang.AssertionError
            dup
            aload 5 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 5 // java.lang.Exception e
        start local 4 // java.lang.reflect.Field field
         4: .line 454
      StackMap locals: java.lang.reflect.Field
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.getMetaAccess:()Ljdk/vm/ci/meta/MetaAccessProvider;
            aload 4 /* field */
            invokeinterface jdk.vm.ci.meta.MetaAccessProvider.lookupJavaField:(Ljava/lang/reflect/Field;)Ljdk/vm/ci/meta/ResolvedJavaField;
            astore 5 /* resolvedField */
        start local 5 // jdk.vm.ci.meta.ResolvedJavaField resolvedField
         5: .line 456
            iconst_0
            istore 6 /* count */
        start local 6 // int count
         6: .line 457
            aload 1 /* graph */
            invokevirtual org.graalvm.compiler.nodes.StructuredGraph.getNodes:()Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            ldc Lorg/graalvm/compiler/nodes/memory/ReadNode;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.filter:(Ljava/lang/Class;)Lorg/graalvm/compiler/graph/iterators/NodeIterable;
            invokeinterface org.graalvm.compiler.graph.iterators.NodeIterable.iterator:()Ljava/util/Iterator;
            astore 8
            goto 12
      StackMap locals: org.graalvm.compiler.truffle.test.ContextLookupCompilationTest org.graalvm.compiler.nodes.StructuredGraph java.lang.Class java.lang.String java.lang.reflect.Field jdk.vm.ci.meta.ResolvedJavaField int top java.util.Iterator
      StackMap stack:
         7: aload 8
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.graalvm.compiler.nodes.memory.ReadNode
            astore 7 /* readNode */
        start local 7 // org.graalvm.compiler.nodes.memory.ReadNode readNode
         8: .line 458
            aload 7 /* readNode */
            invokevirtual org.graalvm.compiler.nodes.memory.ReadNode.getLocationIdentity:()Lorg/graalvm/word/LocationIdentity;
            astore 9 /* location */
        start local 9 // org.graalvm.word.LocationIdentity location
         9: .line 459
            aload 9 /* location */
            instanceof org.graalvm.compiler.nodes.FieldLocationIdentity
            ifeq 12
        10: .line 460
            aload 9 /* location */
            checkcast org.graalvm.compiler.nodes.FieldLocationIdentity
            invokevirtual org.graalvm.compiler.nodes.FieldLocationIdentity.getField:()Ljdk/vm/ci/meta/ResolvedJavaField;
            aload 5 /* resolvedField */
            invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
            ifeq 12
        11: .line 461
            iinc 6 /* count */ 1
        end local 9 // org.graalvm.word.LocationIdentity location
        end local 7 // org.graalvm.compiler.nodes.memory.ReadNode readNode
        12: .line 457
      StackMap locals:
      StackMap stack:
            aload 8
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 7
        13: .line 465
            iload 6 /* count */
            ireturn
        end local 6 // int count
        end local 5 // jdk.vm.ci.meta.ResolvedJavaField resolvedField
        end local 4 // java.lang.reflect.Field field
        end local 3 // java.lang.String fieldName
        end local 2 // java.lang.Class clazz
        end local 1 // org.graalvm.compiler.nodes.StructuredGraph graph
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   14     0           this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            0   14     1          graph  Lorg/graalvm/compiler/nodes/StructuredGraph;
            0   14     2          clazz  Ljava/lang/Class<*>;
            0   14     3      fieldName  Ljava/lang/String;
            1    2     4          field  Ljava/lang/reflect/Field;
            4   14     4          field  Ljava/lang/reflect/Field;
            3    4     5              e  Ljava/lang/Exception;
            5   14     5  resolvedField  Ljdk/vm/ci/meta/ResolvedJavaField;
            6   14     6          count  I
            8   12     7       readNode  Lorg/graalvm/compiler/nodes/memory/ReadNode;
            9   12     9       location  Lorg/graalvm/word/LocationIdentity;
      Exception table:
        from    to  target  type
           0     1       2  Class java.lang.NoSuchFieldException
           0     1       2  Class java.lang.SecurityException
    Signature: (Lorg/graalvm/compiler/nodes/StructuredGraph;Ljava/lang/Class<*>;Ljava/lang/String;)I
    MethodParameters:
           Name  Flags
      graph      
      clazz      
      fieldName  

  public void testStaticTwoConsecutiveContexts();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 472
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
        start local 1 // org.graalvm.polyglot.Context context
         1: .line 473
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromStatic:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         2: .line 474
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         3: .line 475
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         4: .line 476
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
         5: .line 478
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context */
         6: .line 479
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromStatic:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         7: .line 480
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         8: .line 481
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         9: .line 482
            aload 1 /* context */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        10: .line 483
            return
        end local 1 // org.graalvm.polyglot.Context context
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   11     0     this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   11     1  context  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testStaticTwoContextsAtTheSameTime();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 487
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 1 /* context1 */
        start local 1 // org.graalvm.polyglot.Context context1
         1: .line 488
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromStatic:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         2: .line 489
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         3: .line 490
            aload 1 /* context1 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         4: .line 492
            iconst_0
            anewarray java.lang.String
            invokestatic org.graalvm.polyglot.Context.newBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Context$Builder;)Lorg/graalvm/polyglot/Context;
            astore 2 /* context2 */
        start local 2 // org.graalvm.polyglot.Context context2
         5: .line 493
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromStatic:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         6: .line 494
            aload 0 /* this */
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsNoSharing:()V
         7: .line 495
            aload 2 /* context2 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         8: .line 497
            aload 1 /* context1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
         9: .line 498
            aload 2 /* context2 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        10: .line 499
            return
        end local 2 // org.graalvm.polyglot.Context context2
        end local 1 // org.graalvm.polyglot.Context context1
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   11     0      this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   11     1  context1  Lorg/graalvm/polyglot/Context;
            5   11     2  context2  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void testStaticTwoContextsWithSharedEngine();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=1
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
         0: .line 503
            invokestatic org.graalvm.polyglot.Engine.newBuilder:()Lorg/graalvm/polyglot/Engine$Builder;
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createEngine:(Lorg/graalvm/polyglot/Engine$Builder;)Lorg/graalvm/polyglot/Engine;
            astore 1 /* engine */
        start local 1 // org.graalvm.polyglot.Engine engine
         1: .line 504
            aload 1 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            astore 2 /* context1 */
        start local 2 // org.graalvm.polyglot.Context context1
         2: .line 506
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createAssertConstantFromStatic:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertBailout:(Lcom/oracle/truffle/api/nodes/RootNode;)V
         3: .line 507
            aload 0 /* this */
            iconst_0
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsSharedEngine:(Z)V
         4: .line 509
            aload 0 /* this */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createGetFromStatic:()Lcom/oracle/truffle/api/nodes/RootNode;
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertCompiling:(Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            astore 3 /* target */
        start local 3 // org.graalvm.compiler.truffle.runtime.OptimizedCallTarget target
         5: .line 510
            ldc "is valid"
            aload 3 /* target */
            invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertTrue:(Ljava/lang/String;Z)V
         6: .line 511
            aload 3 /* target */
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.call:([Ljava/lang/Object;)Ljava/lang/Object;
            pop
         7: .line 512
            ldc "and keeps valid"
            aload 3 /* target */
            invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertTrue:(Ljava/lang/String;Z)V
         8: .line 513
            aload 2 /* context1 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         9: .line 515
            aload 1 /* engine */
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.createContext:(Lorg/graalvm/polyglot/Engine;)Lorg/graalvm/polyglot/Context;
            astore 4 /* context2 */
        start local 4 // org.graalvm.polyglot.Context context2
        10: .line 516
            ldc "still valid in second Context"
            aload 3 /* target */
            invokevirtual org.graalvm.compiler.truffle.runtime.OptimizedCallTarget.isValid:()Z
            invokestatic org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertTrue:(Ljava/lang/String;Z)V
        11: .line 517
            aload 0 /* this */
            iconst_1
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.assertLookupsSharedEngine:(Z)V
        12: .line 518
            aload 4 /* context2 */
            invokevirtual org.graalvm.polyglot.Context.leave:()V
        13: .line 519
            aload 2 /* context1 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        14: .line 520
            aload 4 /* context2 */
            invokevirtual org.graalvm.polyglot.Context.close:()V
        15: .line 521
            aload 1 /* engine */
            invokevirtual org.graalvm.polyglot.Engine.close:()V
        16: .line 522
            return
        end local 4 // org.graalvm.polyglot.Context context2
        end local 3 // org.graalvm.compiler.truffle.runtime.OptimizedCallTarget target
        end local 2 // org.graalvm.polyglot.Context context1
        end local 1 // org.graalvm.polyglot.Engine engine
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   17     0      this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            1   17     1    engine  Lorg/graalvm/polyglot/Engine;
            2   17     2  context1  Lorg/graalvm/polyglot/Context;
            5   17     3    target  Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
           10   17     4  context2  Lorg/graalvm/polyglot/Context;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  private static com.oracle.truffle.api.nodes.RootNode createAssertConstantContextFromLookup(com.oracle.truffle.api.TruffleLanguage<?>, com.oracle.truffle.api.TruffleLanguage<?>);
    descriptor: (Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.oracle.truffle.api.TruffleLanguage sourceLanguage
        start local 1 // com.oracle.truffle.api.TruffleLanguage accessLanguage
         0: .line 525
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$4
            dup
            aload 0 /* sourceLanguage */
            aload 1 /* accessLanguage */
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$4.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
            astore 2 /* root */
        start local 2 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 540
            aload 2 /* root */
            areturn
        end local 2 // com.oracle.truffle.api.nodes.RootNode root
        end local 1 // com.oracle.truffle.api.TruffleLanguage accessLanguage
        end local 0 // com.oracle.truffle.api.TruffleLanguage sourceLanguage
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    2     0  sourceLanguage  Lcom/oracle/truffle/api/TruffleLanguage<*>;
            0    2     1  accessLanguage  Lcom/oracle/truffle/api/TruffleLanguage<*>;
            1    2     2            root  Lcom/oracle/truffle/api/nodes/RootNode;
    Signature: (Lcom/oracle/truffle/api/TruffleLanguage<*>;Lcom/oracle/truffle/api/TruffleLanguage<*>;)Lcom/oracle/truffle/api/nodes/RootNode;
    MethodParameters:
                Name  Flags
      sourceLanguage  
      accessLanguage  

  private static com.oracle.truffle.api.nodes.RootNode createContextFromLookup(com.oracle.truffle.api.TruffleLanguage<?>, com.oracle.truffle.api.TruffleLanguage<org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext>, int);
    descriptor: (Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;I)Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=5, locals=4, args_size=3
        start local 0 // com.oracle.truffle.api.TruffleLanguage sourceLanguage
        start local 1 // com.oracle.truffle.api.TruffleLanguage accessLanguage
        start local 2 // int lookups
         0: .line 544
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$5
            dup
            aload 0 /* sourceLanguage */
            aload 1 /* accessLanguage */
            iload 2 /* lookups */
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$5.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;I)V
            astore 3 /* root */
        start local 3 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 563
            aload 3 /* root */
            areturn
        end local 3 // com.oracle.truffle.api.nodes.RootNode root
        end local 2 // int lookups
        end local 1 // com.oracle.truffle.api.TruffleLanguage accessLanguage
        end local 0 // com.oracle.truffle.api.TruffleLanguage sourceLanguage
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    2     0  sourceLanguage  Lcom/oracle/truffle/api/TruffleLanguage<*>;
            0    2     1  accessLanguage  Lcom/oracle/truffle/api/TruffleLanguage<Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;>;
            0    2     2         lookups  I
            1    2     3            root  Lcom/oracle/truffle/api/nodes/RootNode;
    Signature: (Lcom/oracle/truffle/api/TruffleLanguage<*>;Lcom/oracle/truffle/api/TruffleLanguage<Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest$LanguageContext;>;I)Lcom/oracle/truffle/api/nodes/RootNode;
    MethodParameters:
                Name  Flags
      sourceLanguage  
      accessLanguage  
      lookups         

  private static com.oracle.truffle.api.nodes.RootNode createAssertConstantLanguageFromLookup(com.oracle.truffle.api.TruffleLanguage<?>, com.oracle.truffle.api.TruffleLanguage<?>);
    descriptor: (Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // com.oracle.truffle.api.TruffleLanguage sourceLanguage
        start local 1 // com.oracle.truffle.api.TruffleLanguage accessLanguage
         0: .line 567
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$6
            dup
            aload 0 /* sourceLanguage */
            aload 1 /* accessLanguage */
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$6.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;Lcom/oracle/truffle/api/TruffleLanguage;)V
            astore 2 /* root */
        start local 2 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 582
            aload 2 /* root */
            areturn
        end local 2 // com.oracle.truffle.api.nodes.RootNode root
        end local 1 // com.oracle.truffle.api.TruffleLanguage accessLanguage
        end local 0 // com.oracle.truffle.api.TruffleLanguage sourceLanguage
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0    2     0  sourceLanguage  Lcom/oracle/truffle/api/TruffleLanguage<*>;
            0    2     1  accessLanguage  Lcom/oracle/truffle/api/TruffleLanguage<*>;
            1    2     2            root  Lcom/oracle/truffle/api/nodes/RootNode;
    Signature: (Lcom/oracle/truffle/api/TruffleLanguage<*>;Lcom/oracle/truffle/api/TruffleLanguage<*>;)Lcom/oracle/truffle/api/nodes/RootNode;
    MethodParameters:
                Name  Flags
      sourceLanguage  
      accessLanguage  

  private static com.oracle.truffle.api.nodes.RootNode createAssertConstantFromRef();
    descriptor: ()Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 586
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$7
            dup
            aconst_null
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$7.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;)V
            astore 0 /* root */
        start local 0 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 596
            aload 0 /* root */
            areturn
        end local 0 // com.oracle.truffle.api.nodes.RootNode root
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    2     0  root  Lcom/oracle/truffle/api/nodes/RootNode;

  private static com.oracle.truffle.api.nodes.RootNode createAssertConstantFromStatic();
    descriptor: ()Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 600
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$8
            dup
            aconst_null
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$8.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;)V
            astore 0 /* root */
        start local 0 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 610
            aload 0 /* root */
            areturn
        end local 0 // com.oracle.truffle.api.nodes.RootNode root
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    2     0  root  Lcom/oracle/truffle/api/nodes/RootNode;

  private static com.oracle.truffle.api.nodes.RootNode createGetFromRef();
    descriptor: ()Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 614
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$9
            dup
            aconst_null
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$9.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;)V
            astore 0 /* root */
        start local 0 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 622
            aload 0 /* root */
            areturn
        end local 0 // com.oracle.truffle.api.nodes.RootNode root
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    2     0  root  Lcom/oracle/truffle/api/nodes/RootNode;

  private static com.oracle.truffle.api.nodes.RootNode createGetFromStatic();
    descriptor: ()Lcom/oracle/truffle/api/nodes/RootNode;
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=0
         0: .line 626
            new org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$10
            dup
            aconst_null
            invokespecial org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$10.<init>:(Lcom/oracle/truffle/api/TruffleLanguage;)V
            astore 0 /* root */
        start local 0 // com.oracle.truffle.api.nodes.RootNode root
         1: .line 633
            aload 0 /* root */
            areturn
        end local 0 // com.oracle.truffle.api.nodes.RootNode root
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    2     0  root  Lcom/oracle/truffle/api/nodes/RootNode;

  private void assertBailout(com.oracle.truffle.api.nodes.RootNode);
    descriptor: (Lcom/oracle/truffle/api/nodes/RootNode;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
        start local 1 // com.oracle.truffle.api.nodes.RootNode node
         0: .line 638
            aload 0 /* this */
            ldc "assertBailout"
            aload 1 /* node */
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.compileHelper:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/RootNode;[Ljava/lang/Object;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
            pop
         1: .line 639
            new java.lang.AssertionError
            dup
            ldc "bailout expected"
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         2: .line 640
      StackMap locals:
      StackMap stack: jdk.vm.ci.code.BailoutException
            pop
         3: .line 643
            return
        end local 1 // com.oracle.truffle.api.nodes.RootNode node
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            0    4     1  node  Lcom/oracle/truffle/api/nodes/RootNode;
      Exception table:
        from    to  target  type
           0     2       2  Class jdk.vm.ci.code.BailoutException
    MethodParameters:
      Name  Flags
      node  

  private org.graalvm.compiler.truffle.runtime.OptimizedCallTarget assertCompiling(com.oracle.truffle.api.nodes.RootNode);
    descriptor: (Lcom/oracle/truffle/api/nodes/RootNode;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
        start local 1 // com.oracle.truffle.api.nodes.RootNode node
         0: .line 647
            aload 0 /* this */
            ldc "assertCompiling"
            aload 1 /* node */
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.compileHelper:(Ljava/lang/String;Lcom/oracle/truffle/api/nodes/RootNode;[Ljava/lang/Object;)Lorg/graalvm/compiler/truffle/runtime/OptimizedCallTarget;
         1: areturn
         2: .line 648
      StackMap locals:
      StackMap stack: jdk.vm.ci.code.BailoutException
            astore 2 /* e */
        start local 2 // jdk.vm.ci.code.BailoutException e
         3: .line 649
            new java.lang.AssertionError
            dup
            ldc "bailout not expected"
            aload 2 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 2 // jdk.vm.ci.code.BailoutException e
        end local 1 // com.oracle.truffle.api.nodes.RootNode node
        end local 0 // org.graalvm.compiler.truffle.test.ContextLookupCompilationTest this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;
            0    4     1  node  Lcom/oracle/truffle/api/nodes/RootNode;
            3    4     2     e  Ljdk/vm/ci/code/BailoutException;
      Exception table:
        from    to  target  type
           0     1       2  Class jdk.vm.ci.code.BailoutException
    MethodParameters:
      Name  Flags
      node  

  static void resetSingleContextState();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=6, locals=2, args_size=0
         0: .line 655
            ldc "com.oracle.truffle.polyglot.PolyglotContextImpl"
            invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
            astore 0 /* c */
        start local 0 // java.lang.Class c
         1: .line 656
            aload 0 /* c */
            ldc "resetSingleContextState"
            iconst_1
            anewarray java.lang.Class
            dup
            iconst_0
            getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
            aastore
            invokevirtual java.lang.Class.getDeclaredMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
            astore 1 /* m */
        start local 1 // java.lang.reflect.Method m
         2: .line 657
            aload 1 /* m */
            iconst_1
            invokevirtual java.lang.reflect.Method.setAccessible:(Z)V
         3: .line 658
            aload 1 /* m */
            aconst_null
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iconst_0
            invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
            aastore
            invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
            pop
        end local 1 // java.lang.reflect.Method m
        end local 0 // java.lang.Class c
         4: .line 659
            goto 7
      StackMap locals:
      StackMap stack: java.lang.Exception
         5: astore 0 /* e */
        start local 0 // java.lang.Exception e
         6: .line 660
            new java.lang.AssertionError
            dup
            aload 0 /* e */
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
        end local 0 // java.lang.Exception e
         7: .line 662
      StackMap locals:
      StackMap stack:
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            1    4     0     c  Ljava/lang/Class<*>;
            2    4     1     m  Ljava/lang/reflect/Method;
            6    7     0     e  Ljava/lang/Exception;
      Exception table:
        from    to  target  type
           0     4       5  Class java.lang.Exception

  static org.graalvm.compiler.nodes.StructuredGraph access$0(org.graalvm.compiler.truffle.test.ContextLookupCompilationTest);
    descriptor: (Lorg/graalvm/compiler/truffle/test/ContextLookupCompilationTest;)Lorg/graalvm/compiler/nodes/StructuredGraph;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 66
            aload 0
            getfield org.graalvm.compiler.truffle.test.ContextLookupCompilationTest.lastCompiledGraph:Lorg/graalvm/compiler/nodes/StructuredGraph;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static void lambda$0(org.graalvm.polyglot.Context);
    descriptor: (Lorg/graalvm/polyglot/Context;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 244
            aload 0
            invokevirtual org.graalvm.polyglot.Context.enter:()V
         1: .line 245
            aload 0
            invokevirtual org.graalvm.polyglot.Context.leave:()V
         2: .line 246
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "ContextLookupCompilationTest.java"
NestMembers:
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$1  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$10  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$3  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$4  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$5  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$6  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$7  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$8  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$9  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared
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 Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$1
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$10
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$2
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$3
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$4
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$5
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$6
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$7
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$8
  org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$9
  final ContextLocalValue = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$ContextLocalValue of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
  public Exclusive = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Exclusive of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
  LanguageContext = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$LanguageContext of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
  public Shared = org.graalvm.compiler.truffle.test.ContextLookupCompilationTest$Shared of org.graalvm.compiler.truffle.test.ContextLookupCompilationTest
  public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context
  public final Builder = org.graalvm.polyglot.Engine$Builder of org.graalvm.polyglot.Engine