public class com.oracle.truffle.js.test.threading.SingleThreadAccess
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: com.oracle.truffle.js.test.threading.SingleThreadAccess
  super_class: java.lang.Object
{
  public org.graalvm.polyglot.Context cx;
    descriptor: Lorg/graalvm/polyglot/Context;
    flags: (0x0001) ACC_PUBLIC

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

  public void start();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
         0: .line 59
            aload 0 /* this */
            iconst_0
            anewarray java.lang.String
            invokestatic com.oracle.truffle.js.test.threading.TestUtil.newContextBuilder:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context$Builder;
            invokevirtual org.graalvm.polyglot.Context$Builder.build:()Lorg/graalvm/polyglot/Context;
            putfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
         1: .line 60
            return
        end local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;
    RuntimeVisibleAnnotations: 
      org.junit.Before()

  public void end();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
         0: .line 64
            aload 0 /* this */
            getfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
            ifnull 2
         1: .line 65
            aload 0 /* this */
            getfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         2: .line 67
      StackMap locals:
      StackMap stack:
            return
        end local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;
    RuntimeVisibleAnnotations: 
      org.junit.After()

  public void valueInTwoThreads();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
         0: .line 74
            new com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread
            dup
            new com.oracle.truffle.js.test.threading.SingleThreadAccess$1
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.js.test.threading.SingleThreadAccess$1.<init>:(Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;)V
            invokespecial com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.<init>:(Ljava/util/concurrent/Callable;)V
            astore 1 /* t */
        start local 1 // com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread t
         1: .line 82
            aload 1 /* t */
            invokevirtual com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.start:()V
         2: .line 83
            aload 1 /* t */
            invokevirtual com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.joinWithReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            ldc 42
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         3: .line 84
            aload 0 /* this */
            getfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         4: .line 85
            return
        end local 1 // com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread t
        end local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;
            1    5     1     t  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess$TestingThread;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void functionInTwoThreads();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
         0: .line 92
            new com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread
            dup
            new com.oracle.truffle.js.test.threading.SingleThreadAccess$2
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.js.test.threading.SingleThreadAccess$2.<init>:(Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;)V
            invokespecial com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.<init>:(Ljava/util/concurrent/Callable;)V
            astore 1 /* t */
        start local 1 // com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread t
         1: .line 100
            aload 1 /* t */
            invokevirtual com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.start:()V
         2: .line 101
            aload 1 /* t */
            invokevirtual com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.joinWithReturnValue:()Lorg/graalvm/polyglot/Value;
            iconst_0
            anewarray java.lang.Object
            invokevirtual org.graalvm.polyglot.Value.execute:([Ljava/lang/Object;)Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            ldc 42
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         3: .line 102
            aload 0 /* this */
            getfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         4: .line 103
            return
        end local 1 // com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread t
        end local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;
            1    5     1     t  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess$TestingThread;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void evalInTwoThreads();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
         0: .line 110
            aload 0 /* this */
            getfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
            ldc "js"
            ldc "var foo = 42;"
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
         1: .line 112
            new com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread
            dup
            new com.oracle.truffle.js.test.threading.SingleThreadAccess$3
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.js.test.threading.SingleThreadAccess$3.<init>:(Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;)V
            invokespecial com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.<init>:(Ljava/util/concurrent/Callable;)V
            astore 1 /* t */
        start local 1 // com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread t
         2: .line 125
            aload 1 /* t */
            invokevirtual com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.start:()V
         3: .line 126
            aload 1 /* t */
            invokevirtual com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.joinWithReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            ldc 42
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         4: .line 127
            aload 0 /* this */
            getfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         5: .line 128
            return
        end local 1 // com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread t
        end local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;
            2    6     1     t  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess$TestingThread;
    RuntimeVisibleAnnotations: 
      org.junit.Test()

  public void createThread();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=1
        start local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
         0: .line 135
            aload 0 /* this */
            getfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
            ldc "js"
            ldc "var foo = 42;"
            invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
            pop
         1: .line 137
            new com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread
            dup
            new com.oracle.truffle.js.test.threading.SingleThreadAccess$4
            dup
            aload 0 /* this */
            invokespecial com.oracle.truffle.js.test.threading.SingleThreadAccess$4.<init>:(Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;)V
            invokespecial com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.<init>:(Ljava/util/concurrent/Callable;)V
            astore 1 /* t */
        start local 1 // com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread t
         2: .line 150
            aload 1 /* t */
            invokevirtual com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.start:()V
         3: .line 151
            aload 1 /* t */
            invokevirtual com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread.joinWithReturnValue:()Lorg/graalvm/polyglot/Value;
            invokevirtual org.graalvm.polyglot.Value.asInt:()I
            i2l
            ldc 42
            invokestatic org.junit.Assert.assertEquals:(JJ)V
         4: .line 152
            aload 0 /* this */
            getfield com.oracle.truffle.js.test.threading.SingleThreadAccess.cx:Lorg/graalvm/polyglot/Context;
            invokevirtual org.graalvm.polyglot.Context.close:()V
         5: .line 153
            return
        end local 1 // com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread t
        end local 0 // com.oracle.truffle.js.test.threading.SingleThreadAccess this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess;
            2    6     1     t  Lcom/oracle/truffle/js/test/threading/SingleThreadAccess$TestingThread;
    RuntimeVisibleAnnotations: 
      org.junit.Test()
}
SourceFile: "SingleThreadAccess.java"
NestMembers:
  com.oracle.truffle.js.test.threading.SingleThreadAccess$1  com.oracle.truffle.js.test.threading.SingleThreadAccess$2  com.oracle.truffle.js.test.threading.SingleThreadAccess$3  com.oracle.truffle.js.test.threading.SingleThreadAccess$4  com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread  com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread$1
InnerClasses:
  com.oracle.truffle.js.test.threading.SingleThreadAccess$1
  com.oracle.truffle.js.test.threading.SingleThreadAccess$2
  com.oracle.truffle.js.test.threading.SingleThreadAccess$3
  com.oracle.truffle.js.test.threading.SingleThreadAccess$4
  TestingThread = com.oracle.truffle.js.test.threading.SingleThreadAccess$TestingThread of com.oracle.truffle.js.test.threading.SingleThreadAccess
  public final Builder = org.graalvm.polyglot.Context$Builder of org.graalvm.polyglot.Context