public final class com.oracle.svm.hosted.image.ObjectGroupHistogram
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.oracle.svm.hosted.image.ObjectGroupHistogram
super_class: java.lang.Object
{
private final com.oracle.svm.hosted.image.NativeImageHeap heap;
descriptor: Lcom/oracle/svm/hosted/image/NativeImageHeap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.Map<com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo, java.lang.String> groups;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;>;
private final java.util.Map<java.lang.String, com.oracle.svm.hosted.image.HeapHistogram> groupHistograms;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Lcom/oracle/svm/hosted/image/HeapHistogram;>;
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/svm/hosted/image/ObjectGroupHistogram;
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.svm.hosted.image.ObjectGroupHistogram.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public static void print(com.oracle.svm.hosted.image.NativeImageHeap);
descriptor: (Lcom/oracle/svm/hosted/image/NativeImageHeap;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.oracle.svm.hosted.image.ObjectGroupHistogram
dup
aload 0
invokespecial com.oracle.svm.hosted.image.ObjectGroupHistogram.<init>:(Lcom/oracle/svm/hosted/image/NativeImageHeap;)V
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.doPrint:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 heap Lcom/oracle/svm/hosted/image/NativeImageHeap;
MethodParameters:
Name Flags
heap
private void <init>(com.oracle.svm.hosted.image.NativeImageHeap);
descriptor: (Lcom/oracle/svm/hosted/image/NativeImageHeap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, 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 com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield com.oracle.svm.hosted.image.ObjectGroupHistogram.groups:Ljava/util/Map;
3: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield com.oracle.svm.hosted.image.ObjectGroupHistogram.groupHistograms:Ljava/util/Map;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/oracle/svm/hosted/image/ObjectGroupHistogram;
0 5 1 heap Lcom/oracle/svm/hosted/image/NativeImageHeap;
MethodParameters:
Name Flags
heap
private static boolean filterCodeInfoObjects(com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo, int);
descriptor: (Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_2
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 info Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
0 2 1 recursionLevel I
MethodParameters:
Name Flags
info
recursionLevel
private static boolean filterDynamicHubField(com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo, com.oracle.svm.hosted.meta.HostedField);
descriptor: (Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getObject:()Ljava/lang/Object;
instanceof com.oracle.svm.core.hub.DynamicHub
ifeq 3
1: aload 1
invokevirtual com.oracle.svm.hosted.meta.HostedField.getName:()Ljava/lang/String;
ldc "name"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
aload 1
invokevirtual com.oracle.svm.hosted.meta.HostedField.getName:()Ljava/lang/String;
ldc "assignableFromMatches"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
aload 1
invokevirtual com.oracle.svm.hosted.meta.HostedField.getName:()Ljava/lang/String;
ldc "pointerMapEncoding"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 2
iconst_0
ireturn
StackMap locals:
StackMap stack:
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 info Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
0 4 1 field Lcom/oracle/svm/hosted/meta/HostedField;
MethodParameters:
Name Flags
info
field
private static boolean filterGraalSupportObjects(com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo, int);
descriptor: (Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmpgt 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 info Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
0 2 1 recursionLevel I
MethodParameters:
Name Flags
info
recursionLevel
private static boolean filterObjectConstantField(com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo, com.oracle.svm.hosted.meta.HostedField);
descriptor: (Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getObject:()Ljava/lang/Object;
instanceof com.oracle.svm.core.meta.SubstrateObjectConstant
ifeq 4
1: aload 1
invokevirtual com.oracle.svm.hosted.meta.HostedField.getName:()Ljava/lang/String;
ldc "object"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
iconst_0
goto 3
StackMap locals:
StackMap stack:
2: iconst_1
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 info Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
0 5 1 field Lcom/oracle/svm/hosted/meta/HostedField;
MethodParameters:
Name Flags
info
field
private void doPrint();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=1
start local 0 0: aload 0
ldc Lcom/oracle/svm/core/hub/DynamicHub;
ldc "DynamicHub"
iconst_1
aconst_null
invokedynamic test()Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z
com/oracle/svm/hosted/image/ObjectGroupHistogram.filterDynamicHubField(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z (6)
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processType:(Ljava/lang/Class;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
1: aload 0
invokestatic com.oracle.svm.core.hub.DynamicHubSupport.getReferenceMapEncoding:()Lcom/oracle/svm/core/c/NonmovableArray;
invokestatic com.oracle.svm.core.c.NonmovableArrays.getHostedArray:(Lcom/oracle/svm/core/c/NonmovableArray;)Ljava/lang/Object;
ldc "DynamicHub"
iconst_1
aconst_null
aconst_null
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Ljava/lang/Object;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
2: aload 0
invokestatic com.oracle.svm.core.code.CodeInfoTable.getImageCodeCache:()Lcom/oracle/svm/core/code/ImageCodeInfo;
ldc "ImageCodeInfo"
iconst_1
invokedynamic test()Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
com/oracle/svm/hosted/image/ObjectGroupHistogram.filterCodeInfoObjects(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z (6)
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
aconst_null
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Ljava/lang/Object;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
3: aload 0
ldc "graphEncoding"
invokestatic com.oracle.svm.hosted.image.ObjectGroupHistogram.readGraalSupportField:(Ljava/lang/String;)Ljava/lang/Object;
ldc "CompressedGraph"
iconst_1
invokedynamic test()Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
com/oracle/svm/hosted/image/ObjectGroupHistogram.filterGraalSupportObjects(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z (6)
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
aconst_null
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Ljava/lang/Object;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
4: aload 0
ldc "graphObjects"
invokestatic com.oracle.svm.hosted.image.ObjectGroupHistogram.readGraalSupportField:(Ljava/lang/String;)Ljava/lang/Object;
ldc "CompressedGraph"
iconst_1
invokedynamic test()Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
com/oracle/svm/hosted/image/ObjectGroupHistogram.filterGraalSupportObjects(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z (6)
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
aconst_null
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Ljava/lang/Object;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
5: aload 0
ldc "graphNodeTypes"
invokestatic com.oracle.svm.hosted.image.ObjectGroupHistogram.readGraalSupportField:(Ljava/lang/String;)Ljava/lang/Object;
ldc "CompressedGraph"
iconst_1
invokedynamic test()Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
com/oracle/svm/hosted/image/ObjectGroupHistogram.filterGraalSupportObjects(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z (6)
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
aconst_null
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Ljava/lang/Object;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
6: aload 0
ldc Ljdk/vm/ci/meta/ResolvedJavaType;
ldc "Graal Metadata"
iconst_0
aconst_null
aconst_null
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processType:(Ljava/lang/Class;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
7: aload 0
ldc Ljdk/vm/ci/meta/ResolvedJavaMethod;
ldc "Graal Metadata"
iconst_0
aconst_null
aconst_null
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processType:(Ljava/lang/Class;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
8: aload 0
ldc Ljdk/vm/ci/meta/ResolvedJavaField;
ldc "Graal Metadata"
iconst_0
aconst_null
aconst_null
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processType:(Ljava/lang/Class;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
9: ldc "com.oracle.svm.graal.SubstrateRuntimeProvider"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
ldc "graphObjects"
invokevirtual java.lang.Class.getDeclaredField:(Ljava/lang/String;)Ljava/lang/reflect/Field;
astore 1
start local 1 10: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap.getMetaAccess:()Lcom/oracle/svm/hosted/meta/HostedMetaAccess;
aload 1
invokevirtual com.oracle.svm.hosted.meta.HostedMetaAccess.lookupJavaField:(Ljava/lang/reflect/Field;)Lcom/oracle/svm/hosted/meta/HostedField;
aconst_null
invokevirtual com.oracle.svm.hosted.meta.HostedField.readValue:(Ljdk/vm/ci/meta/JavaConstant;)Ljdk/vm/ci/meta/JavaConstant;
invokestatic com.oracle.svm.core.meta.SubstrateObjectConstant.asObject:(Ljdk/vm/ci/meta/Constant;)Ljava/lang/Object;
astore 2
start local 2 11: aload 0
aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
aload 2
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap.getObjectInfo:(Ljava/lang/Object;)Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
ldc "CompressedGraphObjects"
iconst_1
aconst_null
invokedynamic test()Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z
com/oracle/svm/hosted/image/ObjectGroupHistogram.filterObjectConstantField(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z (6)
(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Ljava/lang/Object;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
end local 2 end local 1 12: goto 14
StackMap locals:
StackMap stack: java.lang.Throwable
13: pop
14: StackMap locals:
StackMap stack:
new com.oracle.svm.hosted.image.HeapHistogram
dup
invokespecial com.oracle.svm.hosted.image.HeapHistogram.<init>:()V
astore 1
start local 1 15: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap.getObjects:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 19
StackMap locals: com.oracle.svm.hosted.image.ObjectGroupHistogram com.oracle.svm.hosted.image.HeapHistogram top java.util.Iterator
StackMap stack:
16: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo
astore 2
start local 2 17: aload 1
aload 2
aload 2
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getSize:()J
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.add:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;J)V
18: aload 0
aload 2
ldc "Other"
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.addToGroup:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;)Z
pop
end local 2 19: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
20: aload 1
ldc "=== Total ==="
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.printHeadings:(Ljava/lang/String;)V
21: aload 1
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.print:()V
22: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.groupHistograms:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 26
StackMap locals:
StackMap stack:
23: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 24: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.image.HeapHistogram
new java.lang.StringBuilder
dup
ldc "=== "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " ==="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.printHeadings:(Ljava/lang/String;)V
25: aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.image.HeapHistogram
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.print:()V
end local 2 26: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 23
27: getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
28: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "=== Summary ==="
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
29: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.groupHistograms:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 32
StackMap locals:
StackMap stack:
30: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 31: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "%s; %d; %d\n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aastore
dup
iconst_1
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.image.HeapHistogram
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.getTotalCount:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.image.HeapHistogram
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.getTotalSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
end local 2 32: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 30
33: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "%s; %d; %d\n"
iconst_3
anewarray java.lang.Object
dup
iconst_0
ldc "Total"
aastore
dup
iconst_1
aload 1
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.getTotalCount:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
aload 1
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.getTotalSize:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual java.io.PrintStream.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/io/PrintStream;
pop
34: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 35 0 this Lcom/oracle/svm/hosted/image/ObjectGroupHistogram;
10 12 1 field Ljava/lang/reflect/Field;
11 12 2 object Ljava/lang/Object;
15 35 1 totalHistogram Lcom/oracle/svm/hosted/image/HeapHistogram;
17 19 2 info Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
24 26 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Lcom/oracle/svm/hosted/image/HeapHistogram;>;
31 32 2 entry Ljava/util/Map$Entry<Ljava/lang/String;Lcom/oracle/svm/hosted/image/HeapHistogram;>;
Exception table:
from to target type
9 12 13 Class java.lang.Throwable
private static java.lang.Object readGraalSupportField(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: ldc "com.oracle.svm.graal.GraalSupport"
invokestatic java.lang.Class.forName:(Ljava/lang/String;)Ljava/lang/Class;
astore 1
start local 1 1: aload 1
invokestatic org.graalvm.nativeimage.ImageSingletons.lookup:(Ljava/lang/Class;)Ljava/lang/Object;
astore 2
start local 2 2: aload 1
aload 0
aload 2
invokestatic com.oracle.svm.util.ReflectionUtil.readField:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
end local 2 end local 1 4: StackMap locals:
StackMap stack: java.lang.Throwable
pop
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "Warning: cannot read field from GraalSupport: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 name Ljava/lang/String;
1 4 1 graalSupportClass Ljava/lang/Class<*>;
2 4 2 graalSupport Ljava/lang/Object;
Exception table:
from to target type
0 3 4 Class java.lang.Throwable
MethodParameters:
Name Flags
name
public void processType(java.lang.Class<?>, java.lang.String, boolean, com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter, com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter);
descriptor: (Ljava/lang/Class;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=8, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap.getObjects:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 4
StackMap locals: com.oracle.svm.hosted.image.ObjectGroupHistogram java.lang.Class java.lang.String int com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter top java.util.Iterator
StackMap stack:
1: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo
astore 6
start local 6 2: aload 1
aload 6
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getObject:()Ljava/lang/Object;
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 4
3: aload 0
aload 6
aload 2
iload 3
iconst_1
aload 4
aload 5
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;ZILcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
end local 6 4: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
5: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/oracle/svm/hosted/image/ObjectGroupHistogram;
0 6 1 clazz Ljava/lang/Class<*>;
0 6 2 group Ljava/lang/String;
0 6 3 addObject Z
0 6 4 objectFilter Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;
0 6 5 fieldFilter Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;
2 4 6 info Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
Signature: (Ljava/lang/Class<*>;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
MethodParameters:
Name Flags
clazz
group
addObject
objectFilter
fieldFilter
public void processObject(java.lang.Object, java.lang.String, boolean, com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter, com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter);
descriptor: (Ljava/lang/Object;Ljava/lang/String;ZLcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 1
ifnull 2
1: aload 0
aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
aload 1
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap.getObjectInfo:(Ljava/lang/Object;)Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
aload 2
iload 3
iconst_1
aload 4
aload 5
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;ZILcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
2: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/oracle/svm/hosted/image/ObjectGroupHistogram;
0 3 1 object Ljava/lang/Object;
0 3 2 group Ljava/lang/String;
0 3 3 addObject Z
0 3 4 objectFilter Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;
0 3 5 fieldFilter Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;
MethodParameters:
Name Flags
object
group
addObject
objectFilter
fieldFilter
private void processObject(com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo, java.lang.String, boolean, int, com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter, com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter);
descriptor: (Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;ZILcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=13, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 5
ifnull 2
aload 5
aload 1
iload 4
invokeinterface com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter.test:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;I)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
getstatic com.oracle.svm.hosted.image.ObjectGroupHistogram.$assertionsDisabled:Z
ifne 3
aload 1
ifnonnull 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
iload 3
ifeq 6
4: aload 0
aload 1
aload 2
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.addToGroup:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;)Z
ifne 6
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getClazz:()Lcom/oracle/svm/hosted/meta/HostedClass;
invokevirtual com.oracle.svm.hosted.meta.HostedClass.isInstanceClass:()Z
ifeq 18
7: aload 1
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getObject:()Ljava/lang/Object;
invokestatic com.oracle.svm.core.meta.SubstrateObjectConstant.forObject:(Ljava/lang/Object;)Ljdk/vm/ci/meta/JavaConstant;
astore 7
start local 7 8: aload 1
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getClazz:()Lcom/oracle/svm/hosted/meta/HostedClass;
iconst_1
invokevirtual com.oracle.svm.hosted.meta.HostedClass.getInstanceFields:(Z)[Lcom/oracle/svm/hosted/meta/HostedField;
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 16
StackMap locals: com.oracle.svm.hosted.image.ObjectGroupHistogram com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo java.lang.String int int com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter jdk.vm.ci.meta.JavaConstant top int int com.oracle.svm.hosted.meta.HostedField[]
StackMap stack:
9: aload 11
iload 9
aaload
astore 8
start local 8 10: aload 8
invokevirtual com.oracle.svm.hosted.meta.HostedField.getType:()Lcom/oracle/svm/hosted/meta/HostedType;
invokevirtual com.oracle.svm.hosted.meta.HostedType.getStorageKind:()Ljdk/vm/ci/meta/JavaKind;
getstatic jdk.vm.ci.meta.JavaKind.Object:Ljdk/vm/ci/meta/JavaKind;
if_acmpne 15
aload 8
invokestatic com.oracle.svm.hosted.config.HybridLayout.isHybridField:(Ljdk/vm/ci/meta/ResolvedJavaField;)Z
ifne 15
aload 8
invokevirtual com.oracle.svm.hosted.meta.HostedField.isAccessed:()Z
ifeq 15
11: aload 6
ifnull 12
aload 6
aload 1
aload 8
invokeinterface com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter.test:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Lcom/oracle/svm/hosted/meta/HostedField;)Z
ifeq 15
12: StackMap locals: com.oracle.svm.hosted.image.ObjectGroupHistogram com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo java.lang.String int int com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter jdk.vm.ci.meta.JavaConstant com.oracle.svm.hosted.meta.HostedField int int com.oracle.svm.hosted.meta.HostedField[]
StackMap stack:
aload 8
aload 7
invokevirtual com.oracle.svm.hosted.meta.HostedField.readStorageValue:(Ljdk/vm/ci/meta/JavaConstant;)Ljdk/vm/ci/meta/JavaConstant;
invokestatic com.oracle.svm.core.meta.SubstrateObjectConstant.asObject:(Ljdk/vm/ci/meta/Constant;)Ljava/lang/Object;
astore 12
start local 12 13: aload 12
ifnull 15
14: aload 0
aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
aload 12
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap.getObjectInfo:(Ljava/lang/Object;)Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
aload 2
iconst_1
iload 4
iconst_1
iadd
aload 5
aload 6
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;ZILcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
end local 12 end local 8 15: StackMap locals: com.oracle.svm.hosted.image.ObjectGroupHistogram com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo java.lang.String int int com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter jdk.vm.ci.meta.JavaConstant top int int com.oracle.svm.hosted.meta.HostedField[]
StackMap stack:
iinc 9 1
StackMap locals:
StackMap stack:
16: iload 9
iload 10
if_icmplt 9
end local 7 17: goto 26
StackMap locals: com.oracle.svm.hosted.image.ObjectGroupHistogram com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo java.lang.String int int com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter
StackMap stack:
18: aload 1
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getObject:()Ljava/lang/Object;
instanceof java.lang.Object[]
ifeq 26
19: aload 1
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getObject:()Ljava/lang/Object;
checkcast java.lang.Object[]
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 25
StackMap locals: com.oracle.svm.hosted.image.ObjectGroupHistogram com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo java.lang.String int int com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter top int int java.lang.Object[]
StackMap stack:
20: aload 10
iload 8
aaload
astore 7
start local 7 21: aload 7
ifnull 24
22: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.heap:Lcom/oracle/svm/hosted/image/NativeImageHeap;
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap.getAnalysisUniverse:()Lcom/oracle/graal/pointsto/meta/AnalysisUniverse;
aload 7
invokevirtual com.oracle.graal.pointsto.meta.AnalysisUniverse.replaceObject:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap.getObjectInfo:(Ljava/lang/Object;)Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
astore 11
start local 11 23: aload 0
aload 11
aload 2
iconst_1
iload 4
iconst_1
iadd
aload 5
aload 6
invokevirtual com.oracle.svm.hosted.image.ObjectGroupHistogram.processObject:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;ZILcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;)V
end local 11 end local 7 24: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
25: iload 8
iload 9
if_icmplt 20
26: StackMap locals: com.oracle.svm.hosted.image.ObjectGroupHistogram com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo java.lang.String int int com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter
StackMap stack:
return
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/oracle/svm/hosted/image/ObjectGroupHistogram;
0 27 1 info Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
0 27 2 group Ljava/lang/String;
0 27 3 addObject Z
0 27 4 recursionLevel I
0 27 5 objectFilter Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$ObjectFilter;
0 27 6 fieldFilter Lcom/oracle/svm/hosted/image/ObjectGroupHistogram$FieldFilter;
8 17 7 con Ljdk/vm/ci/meta/JavaConstant;
10 15 8 field Lcom/oracle/svm/hosted/meta/HostedField;
13 15 12 fieldValue Ljava/lang/Object;
21 24 7 element Ljava/lang/Object;
23 24 11 elementInfo Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
MethodParameters:
Name Flags
info
group
addObject
recursionLevel
objectFilter
fieldFilter
private boolean addToGroup(com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo, java.lang.String);
descriptor: (Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.groups:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifne 8
1: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.groups:Ljava/util/Map;
aload 1
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.groupHistograms:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.oracle.svm.hosted.image.HeapHistogram
astore 3
start local 3 3: aload 3
ifnonnull 6
4: new com.oracle.svm.hosted.image.HeapHistogram
dup
invokespecial com.oracle.svm.hosted.image.HeapHistogram.<init>:()V
astore 3
5: aload 0
getfield com.oracle.svm.hosted.image.ObjectGroupHistogram.groupHistograms:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: StackMap locals: com.oracle.svm.hosted.image.HeapHistogram
StackMap stack:
aload 3
aload 1
aload 1
invokevirtual com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo.getSize:()J
invokevirtual com.oracle.svm.hosted.image.HeapHistogram.add:(Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;J)V
7: iconst_1
ireturn
end local 3 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/oracle/svm/hosted/image/ObjectGroupHistogram;
0 9 1 info Lcom/oracle/svm/hosted/image/NativeImageHeap$ObjectInfo;
0 9 2 group Ljava/lang/String;
3 8 3 histogram Lcom/oracle/svm/hosted/image/HeapHistogram;
MethodParameters:
Name Flags
info
group
}
SourceFile: "ObjectGroupHistogram.java"
NestMembers:
com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter
InnerClasses:
public final ObjectInfo = com.oracle.svm.hosted.image.NativeImageHeap$ObjectInfo of com.oracle.svm.hosted.image.NativeImageHeap
public abstract FieldFilter = com.oracle.svm.hosted.image.ObjectGroupHistogram$FieldFilter of com.oracle.svm.hosted.image.ObjectGroupHistogram
public abstract ObjectFilter = com.oracle.svm.hosted.image.ObjectGroupHistogram$ObjectFilter of com.oracle.svm.hosted.image.ObjectGroupHistogram
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public abstract Entry = java.util.Map$Entry of java.util.Map