public final class jdk.nashorn.internal.ir.debug.ClassHistogramElement
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.nashorn.internal.ir.debug.ClassHistogramElement
super_class: java.lang.Object
{
public static final java.util.Comparator<jdk.nashorn.internal.ir.debug.ClassHistogramElement> COMPARE_INSTANCES;
descriptor: Ljava/util/Comparator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Comparator<Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;>;
public static final java.util.Comparator<jdk.nashorn.internal.ir.debug.ClassHistogramElement> COMPARE_BYTES;
descriptor: Ljava/util/Comparator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Comparator<Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;>;
public static final java.util.Comparator<jdk.nashorn.internal.ir.debug.ClassHistogramElement> COMPARE_CLASSNAMES;
descriptor: Ljava/util/Comparator;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Comparator<Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;>;
private final java.lang.Class<?> clazz;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
private long instances;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long bytes;
descriptor: J
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new jdk.nashorn.internal.ir.debug.ClassHistogramElement$1
dup
invokespecial jdk.nashorn.internal.ir.debug.ClassHistogramElement$1.<init>:()V
putstatic jdk.nashorn.internal.ir.debug.ClassHistogramElement.COMPARE_INSTANCES:Ljava/util/Comparator;
1: new jdk.nashorn.internal.ir.debug.ClassHistogramElement$2
dup
invokespecial jdk.nashorn.internal.ir.debug.ClassHistogramElement$2.<init>:()V
putstatic jdk.nashorn.internal.ir.debug.ClassHistogramElement.COMPARE_BYTES:Ljava/util/Comparator;
2: new jdk.nashorn.internal.ir.debug.ClassHistogramElement$3
dup
invokespecial jdk.nashorn.internal.ir.debug.ClassHistogramElement$3.<init>:()V
putstatic jdk.nashorn.internal.ir.debug.ClassHistogramElement.COMPARE_CLASSNAMES:Ljava/util/Comparator;
3: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.clazz:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;
0 3 1 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
clazz final
public void addInstance(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.instances:J
lconst_1
ladd
putfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.instances:J
1: aload 0
dup
getfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.bytes:J
lload 1
ladd
putfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.bytes:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;
0 3 1 sizeInBytes J
MethodParameters:
Name Flags
sizeInBytes final
public long getBytes();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.bytes:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;
public java.lang.Class<?> getClazz();
descriptor: ()Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.clazz:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;
Signature: ()Ljava/lang/Class<*>;
public long getInstances();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.instances:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "ClassHistogramElement[class="
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.clazz:Ljava/lang/Class;
invokevirtual java.lang.Class.getCanonicalName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ", instances="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.instances:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", bytes="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield jdk.nashorn.internal.ir.debug.ClassHistogramElement.bytes:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/nashorn/internal/ir/debug/ClassHistogramElement;
}
SourceFile: "ClassHistogramElement.java"
NestMembers:
jdk.nashorn.internal.ir.debug.ClassHistogramElement$1 jdk.nashorn.internal.ir.debug.ClassHistogramElement$2 jdk.nashorn.internal.ir.debug.ClassHistogramElement$3
InnerClasses:
jdk.nashorn.internal.ir.debug.ClassHistogramElement$1
jdk.nashorn.internal.ir.debug.ClassHistogramElement$2
jdk.nashorn.internal.ir.debug.ClassHistogramElement$3