public class org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter extends com.oracle.truffle.api.instrumentation.TruffleInstrument implements com.oracle.truffle.api.instrumentation.AllocationListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter
super_class: com.oracle.truffle.api.instrumentation.TruffleInstrument
{
static final java.lang.String ID;
descriptor: Ljava/lang/String;
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: "testAllocationReporterPE"
private com.oracle.truffle.api.instrumentation.EventBinding<org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter> allocationEventBinding;
descriptor: Lcom/oracle/truffle/api/instrumentation/EventBinding;
flags: (0x0002) ACC_PRIVATE
Signature: Lcom/oracle/truffle/api/instrumentation/EventBinding<Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;>;
private long enterCounter;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long returnCounter;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.instrumentation.TruffleInstrument.<init>:()V
1: aload 0
lconst_0
putfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.enterCounter:J
2: aload 0
lconst_0
putfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.returnCounter:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;
protected void onCreate(com.oracle.truffle.api.instrumentation.TruffleInstrument$Env);
descriptor: (Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.registerService:(Ljava/lang/Object;)V
1: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getLanguages:()Ljava/util/Map;
ldc "truffle-allocation-reporter-pe-test-language"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.nodes.LanguageInfo
astore 2
start local 2 2: aload 0
aload 1
invokevirtual com.oracle.truffle.api.instrumentation.TruffleInstrument$Env.getInstrumenter:()Lcom/oracle/truffle/api/instrumentation/Instrumenter;
invokestatic com.oracle.truffle.api.instrumentation.AllocationEventFilter.newBuilder:()Lcom/oracle/truffle/api/instrumentation/AllocationEventFilter$Builder;
iconst_1
anewarray com.oracle.truffle.api.nodes.LanguageInfo
dup
iconst_0
aload 2
aastore
invokevirtual com.oracle.truffle.api.instrumentation.AllocationEventFilter$Builder.languages:([Lcom/oracle/truffle/api/nodes/LanguageInfo;)Lcom/oracle/truffle/api/instrumentation/AllocationEventFilter$Builder;
invokevirtual com.oracle.truffle.api.instrumentation.AllocationEventFilter$Builder.build:()Lcom/oracle/truffle/api/instrumentation/AllocationEventFilter;
aload 0
invokevirtual com.oracle.truffle.api.instrumentation.Instrumenter.attachAllocationListener:(Lcom/oracle/truffle/api/instrumentation/AllocationEventFilter;Lcom/oracle/truffle/api/instrumentation/AllocationListener;)Lcom/oracle/truffle/api/instrumentation/EventBinding;
putfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.allocationEventBinding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;
0 4 1 env Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
2 4 2 testLanguage Lcom/oracle/truffle/api/nodes/LanguageInfo;
MethodParameters:
Name Flags
env
protected void onDispose(com.oracle.truffle.api.instrumentation.TruffleInstrument$Env);
descriptor: (Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.allocationEventBinding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
invokevirtual com.oracle.truffle.api.instrumentation.EventBinding.dispose:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;
0 2 1 env Lcom/oracle/truffle/api/instrumentation/TruffleInstrument$Env;
MethodParameters:
Name Flags
env
com.oracle.truffle.api.instrumentation.EventBinding<org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter> getAllocationEventBinding();
descriptor: ()Lcom/oracle/truffle/api/instrumentation/EventBinding;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.allocationEventBinding:Lcom/oracle/truffle/api/instrumentation/EventBinding;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;
Signature: ()Lcom/oracle/truffle/api/instrumentation/EventBinding<Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;>;
long getEnterCount();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.enterCounter:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;
long getReturnCount();
descriptor: ()J
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.returnCounter:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;
public void onEnter(com.oracle.truffle.api.instrumentation.AllocationEvent);
descriptor: (Lcom/oracle/truffle/api/instrumentation/AllocationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.enterCounter:J
aload 1
invokevirtual com.oracle.truffle.api.instrumentation.AllocationEvent.getValue:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
ladd
putfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.enterCounter:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;
0 2 1 event Lcom/oracle/truffle/api/instrumentation/AllocationEvent;
MethodParameters:
Name Flags
event
public void onReturnValue(com.oracle.truffle.api.instrumentation.AllocationEvent);
descriptor: (Lcom/oracle/truffle/api/instrumentation/AllocationEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.returnCounter:J
aload 1
invokevirtual com.oracle.truffle.api.instrumentation.AllocationEvent.getValue:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
ladd
putfield org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter.returnCounter:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;
0 2 1 event Lcom/oracle/truffle/api/instrumentation/AllocationEvent;
MethodParameters:
Name Flags
event
}
SourceFile: "AllocationReporterPartialEvaluationTest.java"
NestHost: org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest
InnerClasses:
public Builder = com.oracle.truffle.api.instrumentation.AllocationEventFilter$Builder of com.oracle.truffle.api.instrumentation.AllocationEventFilter
public final Env = com.oracle.truffle.api.instrumentation.TruffleInstrument$Env of com.oracle.truffle.api.instrumentation.TruffleInstrument
public abstract Registration = com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration of com.oracle.truffle.api.instrumentation.TruffleInstrument
public TestAllocationReporter = org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest$TestAllocationReporter of org.graalvm.compiler.truffle.test.AllocationReporterPartialEvaluationTest
RuntimeVisibleAnnotations:
com.oracle.truffle.api.instrumentation.TruffleInstrument$Registration(id = "testAllocationReporterPE", services = {Lorg/graalvm/compiler/truffle/test/AllocationReporterPartialEvaluationTest$TestAllocationReporter;})