public final class com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack
  minor version: 0
  major version: 59
  flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
  this_class: com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack
  super_class: java.lang.Object
{
  private final java.util.Map<java.lang.Thread, com.oracle.truffle.llvm.runtime.memory.LLVMStack> threadMap;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Thread;Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;>;

  private final long stackSize;
    descriptor: J
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.Thread mainThread;
    descriptor: Ljava/lang/Thread;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 41
            ldc Lcom/oracle/truffle/llvm/runtime/memory/LLVMThreadingStack;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.lang.Thread, long);
    descriptor: (Ljava/lang/Thread;J)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=4, args_size=3
        start local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
        start local 1 // java.lang.Thread mainTread
        start local 2 // long stackSize
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 48
            aload 0 /* this */
            aload 1 /* mainTread */
            putfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.mainThread:Ljava/lang/Thread;
         2: .line 49
            aload 0 /* this */
            lload 2 /* stackSize */
            putfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.stackSize:J
         3: .line 50
            aload 0 /* this */
            new java.util.concurrent.ConcurrentHashMap
            dup
            invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
            putfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.threadMap:Ljava/util/Map;
         4: .line 51
            return
        end local 2 // long stackSize
        end local 1 // java.lang.Thread mainTread
        end local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0    5     0       this  Lcom/oracle/truffle/llvm/runtime/memory/LLVMThreadingStack;
            0    5     1  mainTread  Ljava/lang/Thread;
            0    5     2  stackSize  J
    MethodParameters:
           Name  Flags
      mainTread  
      stackSize  

  public com.oracle.truffle.llvm.runtime.memory.LLVMStack getStack();
    descriptor: ()Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
         0: .line 54
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.getCurrentStack:()Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
            astore 1 /* s */
        start local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMStack s
         1: .line 55
            aload 1 /* s */
            ifnonnull 3
         2: .line 56
            aload 0 /* this */
            invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.createNewStack:()Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
            astore 1 /* s */
         3: .line 58
      StackMap locals: com.oracle.truffle.llvm.runtime.memory.LLVMStack
      StackMap stack:
            aload 1 /* s */
            areturn
        end local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMStack s
        end local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lcom/oracle/truffle/llvm/runtime/memory/LLVMThreadingStack;
            1    4     1     s  Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;

  private com.oracle.truffle.llvm.runtime.memory.LLVMStack getCurrentStack();
    descriptor: ()Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
         0: .line 63
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.threadMap:Ljava/util/Map;
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.llvm.runtime.memory.LLVMStack
            areturn
        end local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/oracle/truffle/llvm/runtime/memory/LLVMThreadingStack;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()

  private com.oracle.truffle.llvm.runtime.memory.LLVMStack createNewStack();
    descriptor: ()Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
         0: .line 68
            new com.oracle.truffle.llvm.runtime.memory.LLVMStack
            dup
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.stackSize:J
            invokestatic com.oracle.truffle.llvm.runtime.LLVMLanguage.getContext:()Lcom/oracle/truffle/llvm/runtime/LLVMContext;
            invokespecial com.oracle.truffle.llvm.runtime.memory.LLVMStack.<init>:(JLcom/oracle/truffle/llvm/runtime/LLVMContext;)V
            astore 1 /* s */
        start local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMStack s
         1: .line 69
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.threadMap:Ljava/util/Map;
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            aload 1 /* s */
            invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            astore 2 /* previous */
        start local 2 // java.lang.Object previous
         2: .line 70
            getstatic com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.$assertionsDisabled:Z
            ifne 3
            aload 2 /* previous */
            ifnull 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 71
      StackMap locals: com.oracle.truffle.llvm.runtime.memory.LLVMStack java.lang.Object
      StackMap stack:
            aload 1 /* s */
            areturn
        end local 2 // java.lang.Object previous
        end local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMStack s
        end local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lcom/oracle/truffle/llvm/runtime/memory/LLVMThreadingStack;
            1    4     1         s  Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
            2    4     2  previous  Ljava/lang/Object;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()

  public void freeStack(com.oracle.truffle.llvm.runtime.memory.LLVMMemory, java.lang.Thread);
    descriptor: (Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;Ljava/lang/Thread;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
        start local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMMemory memory
        start local 2 // java.lang.Thread thread
         0: .line 80
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.mainThread:Ljava/lang/Thread;
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            if_acmpeq 2
         1: .line 81
            aload 0 /* this */
            aload 1 /* memory */
            aload 2 /* thread */
            invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.free:(Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;Ljava/lang/Thread;)V
         2: .line 83
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Thread thread
        end local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMMemory memory
        end local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lcom/oracle/truffle/llvm/runtime/memory/LLVMThreadingStack;
            0    3     1  memory  Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;
            0    3     2  thread  Ljava/lang/Thread;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
        Name  Flags
      memory  
      thread  

  public void freeMainStack(com.oracle.truffle.llvm.runtime.memory.LLVMMemory);
    descriptor: (Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
        start local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMMemory memory
         0: .line 87
            aload 0 /* this */
            aload 1 /* memory */
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.mainThread:Ljava/lang/Thread;
            invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.free:(Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;Ljava/lang/Thread;)V
         1: .line 88
            return
        end local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMMemory memory
        end local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lcom/oracle/truffle/llvm/runtime/memory/LLVMThreadingStack;
            0    2     1  memory  Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;
    RuntimeVisibleAnnotations: 
      com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
    MethodParameters:
        Name  Flags
      memory  

  private void free(com.oracle.truffle.llvm.runtime.memory.LLVMMemory, java.lang.Thread);
    descriptor: (Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;Ljava/lang/Thread;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=4, args_size=3
        start local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
        start local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMMemory memory
        start local 2 // java.lang.Thread thread
         0: .line 91
            aload 0 /* this */
            getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.threadMap:Ljava/util/Map;
            aload 2 /* thread */
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            checkcast com.oracle.truffle.llvm.runtime.memory.LLVMStack
            astore 3 /* s */
        start local 3 // com.oracle.truffle.llvm.runtime.memory.LLVMStack s
         1: .line 92
            aload 3 /* s */
            ifnull 3
         2: .line 93
            aload 3 /* s */
            aload 1 /* memory */
            invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMStack.free:(Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;)V
         3: .line 95
      StackMap locals: com.oracle.truffle.llvm.runtime.memory.LLVMStack
      StackMap stack:
            return
        end local 3 // com.oracle.truffle.llvm.runtime.memory.LLVMStack s
        end local 2 // java.lang.Thread thread
        end local 1 // com.oracle.truffle.llvm.runtime.memory.LLVMMemory memory
        end local 0 // com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    4     0    this  Lcom/oracle/truffle/llvm/runtime/memory/LLVMThreadingStack;
            0    4     1  memory  Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;
            0    4     2  thread  Ljava/lang/Thread;
            1    4     3       s  Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
    MethodParameters:
        Name  Flags
      memory  
      thread  
}
SourceFile: "LLVMThreadingStack.java"
InnerClasses:
  public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives