class com.oracle.truffle.tools.profiler.CPUTracerSnippets
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.tools.profiler.CPUTracerSnippets
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // com.oracle.truffle.tools.profiler.CPUTracerSnippets this
0: .line 315
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // com.oracle.truffle.tools.profiler.CPUTracerSnippets this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/tools/profiler/CPUTracerSnippets;
public void example();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 // com.oracle.truffle.tools.profiler.CPUTracerSnippets this
0: .line 321
iconst_0
anewarray java.lang.String
invokestatic org.graalvm.polyglot.Context.create:([Ljava/lang/String;)Lorg/graalvm/polyglot/Context;
astore 1 /* context */
start local 1 // org.graalvm.polyglot.Context context
1: .line 322
aload 1 /* context */
invokevirtual org.graalvm.polyglot.Context.getEngine:()Lorg/graalvm/polyglot/Engine;
invokestatic com.oracle.truffle.tools.profiler.CPUTracer.find:(Lorg/graalvm/polyglot/Engine;)Lcom/oracle/truffle/tools/profiler/CPUTracer;
astore 2 /* tracer */
start local 2 // com.oracle.truffle.tools.profiler.CPUTracer tracer
2: .line 323
aload 2 /* tracer */
iconst_1
invokevirtual com.oracle.truffle.tools.profiler.CPUTracer.setCollecting:(Z)V
3: .line 324
aload 1 /* context */
ldc "..."
ldc "..."
invokevirtual org.graalvm.polyglot.Context.eval:(Ljava/lang/String;Ljava/lang/CharSequence;)Lorg/graalvm/polyglot/Value;
pop
4: .line 325
aload 2 /* tracer */
iconst_0
invokevirtual com.oracle.truffle.tools.profiler.CPUTracer.setCollecting:(Z)V
5: .line 326
aload 2 /* tracer */
invokevirtual com.oracle.truffle.tools.profiler.CPUTracer.close:()V
6: .line 328
aload 2 /* tracer */
invokevirtual com.oracle.truffle.tools.profiler.CPUTracer.getPayloads:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 10
StackMap locals: com.oracle.truffle.tools.profiler.CPUTracerSnippets org.graalvm.polyglot.Context com.oracle.truffle.tools.profiler.CPUTracer top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.truffle.tools.profiler.CPUTracer$Payload
astore 3 /* p */
start local 3 // com.oracle.truffle.tools.profiler.CPUTracer$Payload p
8: .line 329
aload 3 /* p */
invokevirtual com.oracle.truffle.tools.profiler.CPUTracer$Payload.getRootName:()Ljava/lang/String;
pop
9: .line 330
aload 3 /* p */
invokevirtual com.oracle.truffle.tools.profiler.CPUTracer$Payload.getCount:()J
pop2
end local 3 // com.oracle.truffle.tools.profiler.CPUTracer$Payload p
10: .line 328
StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
11: .line 334
return
end local 2 // com.oracle.truffle.tools.profiler.CPUTracer tracer
end local 1 // org.graalvm.polyglot.Context context
end local 0 // com.oracle.truffle.tools.profiler.CPUTracerSnippets this
LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/oracle/truffle/tools/profiler/CPUTracerSnippets;
1 12 1 context Lorg/graalvm/polyglot/Context;
2 12 2 tracer Lcom/oracle/truffle/tools/profiler/CPUTracer;
8 10 3 p Lcom/oracle/truffle/tools/profiler/CPUTracer$Payload;
}
SourceFile: "CPUTracer.java"
InnerClasses:
public final Payload = com.oracle.truffle.tools.profiler.CPUTracer$Payload of com.oracle.truffle.tools.profiler.CPUTracer