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: 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 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.mainThread:Ljava/lang/Thread;
2: aload 0
lload 2
putfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.stackSize:J
3: aload 0
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: return
end local 2 end local 1 end local 0 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 0: aload 0
invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.getCurrentStack:()Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: aload 0
invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.createNewStack:()Lcom/oracle/truffle/llvm/runtime/memory/LLVMStack;
astore 1
3: StackMap locals: com.oracle.truffle.llvm.runtime.memory.LLVMStack
StackMap stack:
aload 1
areturn
end local 1 end local 0 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 0: aload 0
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 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 0: new com.oracle.truffle.llvm.runtime.memory.LLVMStack
dup
aload 0
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
start local 1 1: aload 0
getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.threadMap:Ljava/util/Map;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
aload 1
invokeinterface java.util.Map.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 2: getstatic com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.$assertionsDisabled:Z
ifne 3
aload 2
ifnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: com.oracle.truffle.llvm.runtime.memory.LLVMStack java.lang.Object
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 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 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.mainThread:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpeq 2
1: aload 0
aload 1
aload 2
invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.free:(Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;Ljava/lang/Thread;)V
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 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 start local 1 0: aload 0
aload 1
aload 0
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: return
end local 1 end local 0 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 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.llvm.runtime.memory.LLVMThreadingStack.threadMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.llvm.runtime.memory.LLVMStack
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
aload 1
invokevirtual com.oracle.truffle.llvm.runtime.memory.LLVMStack.free:(Lcom/oracle/truffle/llvm/runtime/memory/LLVMMemory;)V
3: StackMap locals: com.oracle.truffle.llvm.runtime.memory.LLVMStack
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 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