public class sun.jvm.hotspot.gc.z.ZHeap extends sun.jvm.hotspot.runtime.VMObject
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.gc.z.ZHeap
super_class: sun.jvm.hotspot.runtime.VMObject
{
private static long pageAllocatorFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static long pageTableFieldOffset;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokedynamic update()Ljava/util/Observer;
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:
(Ljava/util/Observable;Ljava/lang/Object;)V
sun/jvm/hotspot/gc/z/ZHeap.lambda$0(Ljava/util/Observable;Ljava/lang/Object;)V (6)
(Ljava/util/Observable;Ljava/lang/Object;)V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Ljava/util/Observer;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
private static synchronized void initialize(sun.jvm.hotspot.types.TypeDataBase);
descriptor: (Lsun/jvm/hotspot/types/TypeDataBase;)V
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
ldc "ZHeap"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_page_allocator"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
invokeinterface sun.jvm.hotspot.types.AddressField.getOffset:()J
putstatic sun.jvm.hotspot.gc.z.ZHeap.pageAllocatorFieldOffset:J
2: aload 1
ldc "_page_table"
invokeinterface sun.jvm.hotspot.types.Type.getAddressField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/AddressField;
invokeinterface sun.jvm.hotspot.types.AddressField.getOffset:()J
putstatic sun.jvm.hotspot.gc.z.ZHeap.pageTableFieldOffset:J
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 4 1 type Lsun/jvm/hotspot/types/Type;
MethodParameters:
Name Flags
db
public void <init>(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial sun.jvm.hotspot.runtime.VMObject.<init>:(Lsun/jvm/hotspot/debugger/Address;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
addr
private sun.jvm.hotspot.gc.z.ZPageAllocator pageAllocator();
descriptor: ()Lsun/jvm/hotspot/gc/z/ZPageAllocator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.jvm.hotspot.gc.z.ZHeap.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.gc.z.ZHeap.pageAllocatorFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
astore 1
start local 1 1: ldc Lsun/jvm/hotspot/gc/z/ZPageAllocator;
aload 1
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.z.ZPageAllocator
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
1 2 1 pageAllocatorAddr Lsun/jvm/hotspot/debugger/Address;
sun.jvm.hotspot.gc.z.ZPageTable pageTable();
descriptor: ()Lsun/jvm/hotspot/gc/z/ZPageTable;
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: ldc Lsun/jvm/hotspot/gc/z/ZPageTable;
aload 0
getfield sun.jvm.hotspot.gc.z.ZHeap.addr:Lsun/jvm/hotspot/debugger/Address;
getstatic sun.jvm.hotspot.gc.z.ZHeap.pageTableFieldOffset:J
invokeinterface sun.jvm.hotspot.debugger.Address.addOffsetTo:(J)Lsun/jvm/hotspot/debugger/Address;
invokestatic sun.jvm.hotspot.runtime.VMObjectFactory.newObject:(Ljava/lang/Class;Lsun/jvm/hotspot/debugger/Address;)Ljava/lang/Object;
checkcast sun.jvm.hotspot.gc.z.ZPageTable
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
public long maxCapacity();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.pageAllocator:()Lsun/jvm/hotspot/gc/z/ZPageAllocator;
invokevirtual sun.jvm.hotspot.gc.z.ZPageAllocator.maxCapacity:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
public long capacity();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.pageAllocator:()Lsun/jvm/hotspot/gc/z/ZPageAllocator;
invokevirtual sun.jvm.hotspot.gc.z.ZPageAllocator.capacity:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
public long used();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.pageAllocator:()Lsun/jvm/hotspot/gc/z/ZPageAllocator;
invokevirtual sun.jvm.hotspot.gc.z.ZPageAllocator.used:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
boolean is_relocating(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.pageTable:()Lsun/jvm/hotspot/gc/z/ZPageTable;
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPageTable.is_relocating:(Lsun/jvm/hotspot/debugger/Address;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
0 1 1 o Lsun/jvm/hotspot/debugger/Address;
MethodParameters:
Name Flags
o
sun.jvm.hotspot.debugger.Address forward_object(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.pageTable:()Lsun/jvm/hotspot/gc/z/ZPageTable;
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPageTable.get:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/gc/z/ZPage;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPage.forward_object:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
1 2 2 page Lsun/jvm/hotspot/gc/z/ZPage;
MethodParameters:
Name Flags
addr
sun.jvm.hotspot.debugger.Address relocate_object(sun.jvm.hotspot.debugger.Address);
descriptor: (Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.pageTable:()Lsun/jvm/hotspot/gc/z/ZPageTable;
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPageTable.get:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/gc/z/ZPage;
astore 2
start local 2 1: aload 2
aload 1
invokevirtual sun.jvm.hotspot.gc.z.ZPage.relocate_object:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/debugger/Address;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
0 2 1 addr Lsun/jvm/hotspot/debugger/Address;
1 2 2 page Lsun/jvm/hotspot/gc/z/ZPage;
MethodParameters:
Name Flags
addr
public void printOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc " ZHeap "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
1: aload 1
new java.lang.StringBuilder
dup
ldc "used "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.used:()J
ldc 1024
ldiv
ldc 1024
ldiv
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "M, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
2: aload 1
new java.lang.StringBuilder
dup
ldc "capacity "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.capacity:()J
ldc 1024
ldiv
ldc 1024
ldiv
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "M, "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: aload 1
new java.lang.StringBuilder
dup
ldc "max capacity "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.jvm.hotspot.gc.z.ZHeap.maxCapacity:()J
ldc 1024
ldiv
ldc 1024
ldiv
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "M"
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
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/gc/z/ZHeap;
0 5 1 tty Ljava/io/PrintStream;
MethodParameters:
Name Flags
tty
private static void lambda$0(java.util.Observable, java.lang.Object);
descriptor: (Ljava/util/Observable;Ljava/lang/Object;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getTypeDataBase:()Lsun/jvm/hotspot/types/TypeDataBase;
invokestatic sun.jvm.hotspot.gc.z.ZHeap.initialize:(Lsun/jvm/hotspot/types/TypeDataBase;)V
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 o Ljava/util/Observable;
0 1 1 d Ljava/lang/Object;
}
SourceFile: "ZHeap.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles