class com.oracle.truffle.api.instrumentation.AllocationReporterSnippets extends com.oracle.truffle.api.TruffleLanguage<com.oracle.truffle.api.instrumentation.ContextObject>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.oracle.truffle.api.instrumentation.AllocationReporterSnippets
super_class: com.oracle.truffle.api.TruffleLanguage
{
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/api/instrumentation/AllocationReporterSnippets;
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.api.instrumentation.AllocationReporterSnippets.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.oracle.truffle.api.TruffleLanguage.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/instrumentation/AllocationReporterSnippets;
void example();
descriptor: ()V
flags: (0x0000)
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/oracle/truffle/api/instrumentation/AllocationReporterSnippets;
static com.oracle.truffle.api.instrumentation.ContextObject getCurrentContext();
descriptor: ()Lcom/oracle/truffle/api/instrumentation/ContextObject;
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/oracle/truffle/api/instrumentation/AllocationReporterSnippets;
invokestatic com.oracle.truffle.api.instrumentation.AllocationReporterSnippets.getCurrentContext:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.instrumentation.ContextObject
areturn
LocalVariableTable:
Start End Slot Name Signature
protected com.oracle.truffle.api.instrumentation.ContextObject createContext(com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/api/instrumentation/ContextObject;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc Lcom/oracle/truffle/api/instrumentation/AllocationReporter;
invokevirtual com.oracle.truffle.api.TruffleLanguage$Env.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast com.oracle.truffle.api.instrumentation.AllocationReporter
astore 2
start local 2 1: new com.oracle.truffle.api.instrumentation.ContextObject
dup
aload 2
invokespecial com.oracle.truffle.api.instrumentation.ContextObject.<init>:(Lcom/oracle/truffle/api/instrumentation/AllocationReporter;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/oracle/truffle/api/instrumentation/AllocationReporterSnippets;
0 2 1 env Lcom/oracle/truffle/api/TruffleLanguage$Env;
1 2 2 reporter Lcom/oracle/truffle/api/instrumentation/AllocationReporter;
MethodParameters:
Name Flags
env
java.lang.Object allocateNew();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=6, locals=5, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.instrumentation.AllocationReporterSnippets.getCurrentContext:()Lcom/oracle/truffle/api/instrumentation/ContextObject;
invokevirtual com.oracle.truffle.api.instrumentation.ContextObject.getReporter:()Lcom/oracle/truffle/api/instrumentation/AllocationReporter;
astore 1
start local 1 1: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.AllocationReporter.isActive:()Z
ifeq 4
2: invokestatic com.oracle.truffle.api.instrumentation.AllocationReporterSnippets.findSizeEstimate:()J
lstore 2
start local 2 3: aload 1
aconst_null
lconst_0
lload 2
invokevirtual com.oracle.truffle.api.instrumentation.AllocationReporter.onEnter:(Ljava/lang/Object;JJ)V
end local 2 4: StackMap locals: com.oracle.truffle.api.instrumentation.AllocationReporter
StackMap stack:
new com.oracle.truffle.api.instrumentation.AllocationReporterSnippets$MyTruffleObject
dup
invokespecial com.oracle.truffle.api.instrumentation.AllocationReporterSnippets$MyTruffleObject.<init>:()V
astore 2
start local 2 5: aload 1
invokevirtual com.oracle.truffle.api.instrumentation.AllocationReporter.isActive:()Z
ifeq 8
6: aload 2
invokestatic com.oracle.truffle.api.instrumentation.AllocationReporterSnippets.findSize:(Ljava/lang/Object;)J
lstore 3
start local 3 7: aload 1
aload 2
lconst_0
lload 3
invokevirtual com.oracle.truffle.api.instrumentation.AllocationReporter.onReturnValue:(Ljava/lang/Object;JJ)V
end local 3 8: StackMap locals: java.lang.Object
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/truffle/api/instrumentation/AllocationReporterSnippets;
1 9 1 reporter Lcom/oracle/truffle/api/instrumentation/AllocationReporter;
3 4 2 size J
5 9 2 newObject Ljava/lang/Object;
7 8 3 size J
java.lang.Object allocateComplex();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=6, locals=3, args_size=1
start local 0 0: invokestatic com.oracle.truffle.api.instrumentation.AllocationReporterSnippets.getCurrentContext:()Lcom/oracle/truffle/api/instrumentation/ContextObject;
invokevirtual com.oracle.truffle.api.instrumentation.ContextObject.getReporter:()Lcom/oracle/truffle/api/instrumentation/AllocationReporter;
astore 1
start local 1 1: aload 1
aconst_null
lconst_0
ldc 16
invokevirtual com.oracle.truffle.api.instrumentation.AllocationReporter.onEnter:(Ljava/lang/Object;JJ)V
2: invokestatic com.oracle.truffle.api.instrumentation.AllocationReporterSnippets.createComplexObject:()Ljava/lang/Object;
astore 2
start local 2 3: aload 1
aload 2
lconst_0
ldc 16
invokevirtual com.oracle.truffle.api.instrumentation.AllocationReporter.onReturnValue:(Ljava/lang/Object;JJ)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/truffle/api/instrumentation/AllocationReporterSnippets;
1 5 1 reporter Lcom/oracle/truffle/api/instrumentation/AllocationReporter;
3 5 2 newObject Ljava/lang/Object;
private static long findSizeEstimate();
descriptor: ()J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: lconst_0
lreturn
LocalVariableTable:
Start End Slot Name Signature
private static long findSize(java.lang.Object);
descriptor: (Ljava/lang/Object;)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic com.oracle.truffle.api.instrumentation.AllocationReporterSnippets.$assertionsDisabled:Z
ifne 1
aload 0
ifnonnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
lconst_0
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 newObject Ljava/lang/Object;
MethodParameters:
Name Flags
newObject
private static java.lang.Object createComplexObject();
descriptor: ()Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
areturn
LocalVariableTable:
Start End Slot Name Signature
protected java.lang.Object createContext(com.oracle.truffle.api.TruffleLanguage$Env);
descriptor: (Lcom/oracle/truffle/api/TruffleLanguage$Env;)Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual com.oracle.truffle.api.instrumentation.AllocationReporterSnippets.createContext:(Lcom/oracle/truffle/api/TruffleLanguage$Env;)Lcom/oracle/truffle/api/instrumentation/ContextObject;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Lcom/oracle/truffle/api/TruffleLanguage<Lcom/oracle/truffle/api/instrumentation/ContextObject;>;
SourceFile: "AllocationReporter.java"
NestMembers:
com.oracle.truffle.api.instrumentation.AllocationReporterSnippets$MyTruffleObject
InnerClasses:
public final Env = com.oracle.truffle.api.TruffleLanguage$Env of com.oracle.truffle.api.TruffleLanguage
private MyTruffleObject = com.oracle.truffle.api.instrumentation.AllocationReporterSnippets$MyTruffleObject of com.oracle.truffle.api.instrumentation.AllocationReporterSnippets