class com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode extends com.oracle.truffle.api.instrumentation.ExecutionEventNode
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode
super_class: com.oracle.truffle.api.instrumentation.ExecutionEventNode
{
private final com.oracle.truffle.tools.profiler.ShadowStack profilerStack;
descriptor: Lcom/oracle/truffle/tools/profiler/ShadowStack;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.tools.profiler.StackTraceEntry compilationRootLocation;
descriptor: Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.tools.profiler.StackTraceEntry compiledLocation;
descriptor: Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.tools.profiler.StackTraceEntry interpretedLocation;
descriptor: Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Thread cachedThread;
descriptor: Ljava/lang/Thread;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack cachedStack;
descriptor: Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean seenOtherThreads;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
final boolean isAttachedToRootTag;
descriptor: Z
flags: (0x0010) ACC_FINAL
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
final boolean ignoreInlinedRoots;
descriptor: Z
flags: (0x0010) ACC_FINAL
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$CompilationFinal()
void <init>(com.oracle.truffle.tools.profiler.ShadowStack, com.oracle.truffle.api.instrumentation.Instrumenter, com.oracle.truffle.api.instrumentation.EventContext, boolean);
descriptor: (Lcom/oracle/truffle/tools/profiler/ShadowStack;Lcom/oracle/truffle/api/instrumentation/Instrumenter;Lcom/oracle/truffle/api/instrumentation/EventContext;Z)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial com.oracle.truffle.api.instrumentation.ExecutionEventNode.<init>:()V
1: aload 0
aload 1
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.profilerStack:Lcom/oracle/truffle/tools/profiler/ShadowStack;
2: aload 0
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.cachedThread:Ljava/lang/Thread;
3: aload 0
new com.oracle.truffle.tools.profiler.StackTraceEntry
dup
aload 2
aload 3
iconst_1
invokespecial com.oracle.truffle.tools.profiler.StackTraceEntry.<init>:(Lcom/oracle/truffle/api/instrumentation/Instrumenter;Lcom/oracle/truffle/api/instrumentation/EventContext;B)V
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.interpretedLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
4: aload 0
new com.oracle.truffle.tools.profiler.StackTraceEntry
dup
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.interpretedLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
iconst_2
invokespecial com.oracle.truffle.tools.profiler.StackTraceEntry.<init>:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;B)V
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.compiledLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
5: aload 0
new com.oracle.truffle.tools.profiler.StackTraceEntry
dup
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.interpretedLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
iconst_3
invokespecial com.oracle.truffle.tools.profiler.StackTraceEntry.<init>:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;B)V
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.compilationRootLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
6: aload 0
aload 3
ldc Lcom/oracle/truffle/api/instrumentation/StandardTags$RootTag;
invokevirtual com.oracle.truffle.api.instrumentation.EventContext.hasTag:(Ljava/lang/Class;)Z
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.isAttachedToRootTag:Z
7: aload 0
iload 4
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.ignoreInlinedRoots:Z
8: aload 0
aload 0
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.getStack:()Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.cachedStack:Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
0 10 1 profilerStack Lcom/oracle/truffle/tools/profiler/ShadowStack;
0 10 2 instrumenter Lcom/oracle/truffle/api/instrumentation/Instrumenter;
0 10 3 context Lcom/oracle/truffle/api/instrumentation/EventContext;
0 10 4 ignoreInlinedRoots Z
MethodParameters:
Name Flags
profilerStack
instrumenter
context
ignoreInlinedRoots
protected void onEnter(com.oracle.truffle.api.frame.VirtualFrame);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic com.oracle.truffle.api.CompilerDirectives.inCompiledCode:()Z
ifeq 2
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.ignoreInlinedRoots:Z
ifeq 2
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.isAttachedToRootTag:Z
ifeq 2
invokestatic com.oracle.truffle.api.CompilerDirectives.inCompilationRoot:()Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.doOnEnter:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
0 4 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
MethodParameters:
Name Flags
frame
private void doOnEnter();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.CompilerDirectives.inInterpreter:()Z
ifeq 1
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.interpretedLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
goto 3
StackMap locals:
StackMap stack:
1: invokestatic com.oracle.truffle.api.CompilerDirectives.inCompilationRoot:()Z
ifeq 2
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.compiledLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.compilationRootLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
StackMap locals:
StackMap stack: com.oracle.truffle.tools.profiler.StackTraceEntry
3: astore 1
start local 1 4: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.seenOtherThreads:Z
ifeq 7
5: aload 0
aload 1
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.pushSlow:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
6: goto 13
StackMap locals: com.oracle.truffle.tools.profiler.StackTraceEntry
StackMap stack:
7: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.cachedThread:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpne 10
8: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.cachedStack:Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
aload 1
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack.push:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
9: goto 13
10: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
11: aload 0
iconst_1
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.seenOtherThreads:Z
12: aload 0
aload 1
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.pushSlow:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
4 14 1 location Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
private void pushSlow(com.oracle.truffle.tools.profiler.StackTraceEntry);
descriptor: (Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.getStack:()Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
aload 1
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack.push:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
0 2 1 location Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
location
protected void onReturnExceptional(com.oracle.truffle.api.frame.VirtualFrame, java.lang.Throwable);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Throwable;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aconst_null
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.onReturnValue:(Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
0 2 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 2 2 exception Ljava/lang/Throwable;
MethodParameters:
Name Flags
frame
exception
protected void onReturnValue(com.oracle.truffle.api.frame.VirtualFrame, java.lang.Object);
descriptor: (Lcom/oracle/truffle/api/frame/VirtualFrame;Ljava/lang/Object;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.ignoreInlinedRoots:Z
ifeq 8
1: invokestatic com.oracle.truffle.api.CompilerDirectives.inCompiledCode:()Z
ifeq 4
2: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.isAttachedToRootTag:Z
ifeq 8
invokestatic com.oracle.truffle.api.CompilerDirectives.inCompilationRoot:()Z
ifne 8
3: return
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.getStack:()Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
astore 3
start local 3 5: aload 3
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack.hasStackOverflowed:()Z
ifne 8
6: aload 3
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack.top:()Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
invokevirtual com.oracle.truffle.tools.profiler.StackTraceEntry.getInstrumentedNode:()Lcom/oracle/truffle/api/nodes/Node;
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.interpretedLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
invokevirtual com.oracle.truffle.tools.profiler.StackTraceEntry.getInstrumentedNode:()Lcom/oracle/truffle/api/nodes/Node;
if_acmpeq 8
7: return
end local 3 8: StackMap locals:
StackMap stack:
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.seenOtherThreads:Z
ifeq 11
9: aload 0
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.compiledLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.popSlow:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
10: goto 17
StackMap locals:
StackMap stack:
11: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.cachedThread:Ljava/lang/Thread;
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
if_acmpne 14
12: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.cachedStack:Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.compiledLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack.pop:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
13: goto 17
14: StackMap locals:
StackMap stack:
invokestatic com.oracle.truffle.api.CompilerDirectives.transferToInterpreterAndInvalidate:()V
15: aload 0
iconst_1
putfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.seenOtherThreads:Z
16: aload 0
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.compiledLocation:Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.popSlow:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
0 18 1 frame Lcom/oracle/truffle/api/frame/VirtualFrame;
0 18 2 result Ljava/lang/Object;
5 8 3 stack Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
MethodParameters:
Name Flags
frame
result
private void popSlow(com.oracle.truffle.tools.profiler.StackTraceEntry);
descriptor: (Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.getStack:()Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
aload 1
invokevirtual com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack.pop:(Lcom/oracle/truffle/tools/profiler/StackTraceEntry;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
0 2 1 entry Lcom/oracle/truffle/tools/profiler/StackTraceEntry;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
MethodParameters:
Name Flags
entry
private com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack getStack();
descriptor: ()Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=1
start local 0 0: invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
astore 1
start local 1 1: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.profilerStack:Lcom/oracle/truffle/tools/profiler/ShadowStack;
getfield com.oracle.truffle.tools.profiler.ShadowStack.stacks:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack
astore 2
start local 2 2: aload 2
ifnonnull 7
3: new com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack
dup
aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.profilerStack:Lcom/oracle/truffle/tools/profiler/ShadowStack;
dup
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
pop
aload 1
invokespecial com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack.<init>:(Lcom/oracle/truffle/tools/profiler/ShadowStack;Ljava/lang/Thread;)V
astore 2
4: aload 0
getfield com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode.profilerStack:Lcom/oracle/truffle/tools/profiler/ShadowStack;
getfield com.oracle.truffle.tools.profiler.ShadowStack.stacks:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
aload 2
invokevirtual java.util.concurrent.ConcurrentHashMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 3
astore 2
end local 3 7: StackMap locals: java.lang.Thread com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
1 8 1 currentThread Ljava/lang/Thread;
2 8 2 stack Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
5 7 3 prevStack Lcom/oracle/truffle/tools/profiler/ShadowStack$ThreadLocalStack;
RuntimeVisibleAnnotations:
com.oracle.truffle.api.CompilerDirectives$TruffleBoundary()
public com.oracle.truffle.api.nodes.NodeCost getCost();
descriptor: ()Lcom/oracle/truffle/api/nodes/NodeCost;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.nodes.NodeCost.NONE:Lcom/oracle/truffle/api/nodes/NodeCost;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/tools/profiler/ShadowStack$StackPushPopNode;
}
SourceFile: "ShadowStack.java"
NestHost: com.oracle.truffle.tools.profiler.ShadowStack
InnerClasses:
public abstract CompilationFinal = com.oracle.truffle.api.CompilerDirectives$CompilationFinal of com.oracle.truffle.api.CompilerDirectives
public abstract TruffleBoundary = com.oracle.truffle.api.CompilerDirectives$TruffleBoundary of com.oracle.truffle.api.CompilerDirectives
public final RootTag = com.oracle.truffle.api.instrumentation.StandardTags$RootTag of com.oracle.truffle.api.instrumentation.StandardTags
private StackPushPopNode = com.oracle.truffle.tools.profiler.ShadowStack$StackPushPopNode of com.oracle.truffle.tools.profiler.ShadowStack
final ThreadLocalStack = com.oracle.truffle.tools.profiler.ShadowStack$ThreadLocalStack of com.oracle.truffle.tools.profiler.ShadowStack