public final class org.graalvm.compiler.core.test.AllocSpy implements java.lang.AutoCloseable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.graalvm.compiler.core.test.AllocSpy
super_class: java.lang.Object
{
static java.lang.ThreadLocal<org.graalvm.compiler.core.test.AllocSpy> current;
descriptor: Ljava/lang/ThreadLocal;
flags: (0x0008) ACC_STATIC
Signature: Ljava/lang/ThreadLocal<Lorg/graalvm/compiler/core/test/AllocSpy;>;
private static final boolean ENABLED;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean SampleBytes;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean SampleInstances;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int ContextSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int HistogramLimit;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int NameSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int BarSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int NumberSize;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
final java.lang.Object name;
descriptor: Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
final org.graalvm.compiler.core.test.AllocSpy parent;
descriptor: Lorg/graalvm/compiler/core/test/AllocSpy;
flags: (0x0010) ACC_FINAL
final java.util.Map<java.lang.String, org.graalvm.compiler.core.test.AllocSpy$CountedValue> bytesPerGraalContext;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/graalvm/compiler/core/test/AllocSpy$CountedValue;>;
final java.util.Map<java.lang.String, org.graalvm.compiler.core.test.AllocSpy$CountedValue> instancesPerGraalContext;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lorg/graalvm/compiler/core/test/AllocSpy$CountedValue;>;
private static final java.lang.String[] Excluded;
descriptor: [Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
public static boolean isEnabled();
descriptor: ()Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
static java.lang.String prop(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
sfx
public static org.graalvm.compiler.core.test.AllocSpy open(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/graalvm/compiler/core/test/AllocSpy;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
name
private void <init>(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import com.google cannot be resolved\n\tThe import com.google cannot be resolved\n\tAllocationRecorder cannot be resolved to a type\n\tAllocationRecorder cannot be resolved\n\tAllocationRecorder cannot be resolved to a type\n\tSampler cannot be resolved to a type\n\tThe method sampleAllocation(int, String, Object, long) of type AllocSpy.GraalContextSampler must override or implement a supertype method\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/AllocSpy;
MethodParameters:
Name Flags
name
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/AllocSpy;
private static void printLine(java.io.PrintStream, char, int);
descriptor: (Ljava/io/PrintStream;CI)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
printStream
c
lineSize
private static void print(java.io.PrintStream, java.util.Map<java.lang.String, org.graalvm.compiler.core.test.AllocSpy$CountedValue>, java.lang.String, int, int, );
descriptor: (Ljava/io/PrintStream;Ljava/util/Map;Ljava/lang/String;III)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=6
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Ljava/io/PrintStream;Ljava/util/Map<Ljava/lang/String;Lorg/graalvm/compiler/core/test/AllocSpy$CountedValue;>;Ljava/lang/String;III)V
MethodParameters:
Name Flags
ps
map
name
limit
nameSize
barSize
org.graalvm.compiler.core.test.AllocSpy$CountedValue bytesPerGraalContext(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/core/test/AllocSpy$CountedValue;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/AllocSpy;
MethodParameters:
Name Flags
context
org.graalvm.compiler.core.test.AllocSpy$CountedValue instancesPerGraalContext(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/graalvm/compiler/core/test/AllocSpy$CountedValue;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/graalvm/compiler/core/test/AllocSpy;
MethodParameters:
Name Flags
context
protected static org.graalvm.compiler.core.test.AllocSpy$CountedValue getCounter(java.lang.String, java.util.Map<java.lang.String, org.graalvm.compiler.core.test.AllocSpy$CountedValue>);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Lorg/graalvm/compiler/core/test/AllocSpy$CountedValue;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Signature: (Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;Lorg/graalvm/compiler/core/test/AllocSpy$CountedValue;>;)Lorg/graalvm/compiler/core/test/AllocSpy$CountedValue;
MethodParameters:
Name Flags
desc
map
private static boolean excludeFrame(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
className
}
SourceFile: "AllocSpy.java"
NestMembers:
org.graalvm.compiler.core.test.AllocSpy$CountedValue org.graalvm.compiler.core.test.AllocSpy$GraalContextSampler
InnerClasses:
CountedValue = org.graalvm.compiler.core.test.AllocSpy$CountedValue of org.graalvm.compiler.core.test.AllocSpy
GraalContextSampler = org.graalvm.compiler.core.test.AllocSpy$GraalContextSampler of org.graalvm.compiler.core.test.AllocSpy