public class sun.jvm.hotspot.oops.Instance extends sun.jvm.hotspot.oops.Oop
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.oops.Instance
super_class: sun.jvm.hotspot.oops.Oop
{
private static long typeSize;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new sun.jvm.hotspot.oops.Instance$1
dup
invokespecial sun.jvm.hotspot.oops.Instance$1.<init>:()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 "instanceOopDesc"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
invokeinterface sun.jvm.hotspot.types.Type.getSize:()J
putstatic sun.jvm.hotspot.oops.Instance.typeSize:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 3 1 type Lsun/jvm/hotspot/types/Type;
Exceptions:
throws sun.jvm.hotspot.types.WrongTypeException
MethodParameters:
Name Flags
db
void <init>(sun.jvm.hotspot.debugger.OopHandle, sun.jvm.hotspot.oops.ObjectHeap);
descriptor: (Lsun/jvm/hotspot/debugger/OopHandle;Lsun/jvm/hotspot/oops/ObjectHeap;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial sun.jvm.hotspot.oops.Oop.<init>:(Lsun/jvm/hotspot/debugger/OopHandle;Lsun/jvm/hotspot/oops/ObjectHeap;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/jvm/hotspot/oops/Instance;
0 2 1 handle Lsun/jvm/hotspot/debugger/OopHandle;
0 2 2 heap Lsun/jvm/hotspot/oops/ObjectHeap;
MethodParameters:
Name Flags
handle
heap
public static long ();
descriptor: ()J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.isCompressedKlassPointersEnabled:()Z
ifeq 2
1: getstatic sun.jvm.hotspot.oops.Instance.typeSize:J
invokestatic sun.jvm.hotspot.runtime.VM.getVM:()Lsun/jvm/hotspot/runtime/VM;
invokevirtual sun.jvm.hotspot.runtime.VM.getIntSize:()J
lsub
lreturn
2: StackMap locals:
StackMap stack:
getstatic sun.jvm.hotspot.oops.Instance.typeSize:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
public boolean isInstance();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/Instance;
public void iterateFields(sun.jvm.hotspot.oops.OopVisitor, boolean);
descriptor: (Lsun/jvm/hotspot/oops/OopVisitor;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
invokespecial sun.jvm.hotspot.oops.Oop.iterateFields:(Lsun/jvm/hotspot/oops/OopVisitor;Z)V
1: aload 0
invokevirtual sun.jvm.hotspot.oops.Instance.getKlass:()Lsun/jvm/hotspot/oops/Klass;
checkcast sun.jvm.hotspot.oops.InstanceKlass
aload 1
aload 0
invokevirtual sun.jvm.hotspot.oops.InstanceKlass.iterateNonStaticFields:(Lsun/jvm/hotspot/oops/OopVisitor;Lsun/jvm/hotspot/oops/Oop;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/jvm/hotspot/oops/Instance;
0 3 1 visitor Lsun/jvm/hotspot/oops/OopVisitor;
0 3 2 doVMFields Z
MethodParameters:
Name Flags
visitor
doVMFields
public void printValueOn(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.jvm.hotspot.oops.Instance.getKlass:()Lsun/jvm/hotspot/oops/Klass;
invokevirtual sun.jvm.hotspot.oops.Klass.getName:()Lsun/jvm/hotspot/oops/Symbol;
invokevirtual sun.jvm.hotspot.oops.Symbol.asString:()Ljava/lang/String;
ldc "java/lang/String"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 3
1: aload 1
new java.lang.StringBuilder
dup
ldc "\""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokestatic sun.jvm.hotspot.oops.OopUtilities.stringOopToString:(Lsun/jvm/hotspot/oops/Oop;)Ljava/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 java.io.PrintStream.print:(Ljava/lang/String;)V
2: goto 4
3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial sun.jvm.hotspot.oops.Oop.printValueOn:(Ljava/io/PrintStream;)V
4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvm/hotspot/oops/Instance;
0 5 1 tty Ljava/io/PrintStream;
MethodParameters:
Name Flags
tty
}
SourceFile: "Instance.java"
NestMembers:
sun.jvm.hotspot.oops.Instance$1
InnerClasses:
sun.jvm.hotspot.oops.Instance$1