public class sun.jvm.hotspot.oops.java_lang_Class
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvm.hotspot.oops.java_lang_Class
super_class: java.lang.Object
{
static int klassOffset;
descriptor: I
flags: (0x0008) ACC_STATIC
static int arrayKlassOffset;
descriptor: I
flags: (0x0008) ACC_STATIC
static sun.jvm.hotspot.oops.IntField oopSizeField;
descriptor: Lsun/jvm/hotspot/oops/IntField;
flags: (0x0008) 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.java_lang_Class$1
dup
invokespecial sun.jvm.hotspot.oops.java_lang_Class$1.<init>:()V
invokestatic sun.jvm.hotspot.runtime.VM.registerVMInitializedObserver:(Ljava/util/Observer;)V
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvm/hotspot/oops/java_lang_Class;
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=6, locals=3, args_size=1
start local 0 0: aload 0
ldc "java_lang_Class"
invokeinterface sun.jvm.hotspot.types.TypeDataBase.lookupType:(Ljava/lang/String;)Lsun/jvm/hotspot/types/Type;
astore 1
start local 1 1: aload 1
ldc "_klass_offset"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:()J
l2i
putstatic sun.jvm.hotspot.oops.java_lang_Class.klassOffset:I
2: aload 1
ldc "_array_klass_offset"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:()J
l2i
putstatic sun.jvm.hotspot.oops.java_lang_Class.arrayKlassOffset:I
3: aload 1
ldc "_oop_size_offset"
invokeinterface sun.jvm.hotspot.types.Type.getCIntegerField:(Ljava/lang/String;)Lsun/jvm/hotspot/types/CIntegerField;
invokeinterface sun.jvm.hotspot.types.CIntegerField.getValue:()J
l2i
istore 2
start local 2 4: new sun.jvm.hotspot.oops.IntField
dup
new sun.jvm.hotspot.oops.NamedFieldIdentifier
dup
ldc "oop_size"
invokespecial sun.jvm.hotspot.oops.NamedFieldIdentifier.<init>:(Ljava/lang/String;)V
iload 2
i2l
iconst_1
invokespecial sun.jvm.hotspot.oops.IntField.<init>:(Lsun/jvm/hotspot/oops/FieldIdentifier;JZ)V
putstatic sun.jvm.hotspot.oops.java_lang_Class.oopSizeField:Lsun/jvm/hotspot/oops/IntField;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 db Lsun/jvm/hotspot/types/TypeDataBase;
1 6 1 jlc Lsun/jvm/hotspot/types/Type;
4 6 2 oopSizeOffset I
MethodParameters:
Name Flags
db
public static sun.jvm.hotspot.oops.Klass asKlass(sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/oops/Klass;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvm.hotspot.oops.Oop.getHandle:()Lsun/jvm/hotspot/debugger/OopHandle;
getstatic sun.jvm.hotspot.oops.java_lang_Class.klassOffset:I
i2l
invokeinterface sun.jvm.hotspot.debugger.OopHandle.getAddressAt:(J)Lsun/jvm/hotspot/debugger/Address;
invokestatic sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/oops/Metadata;
checkcast sun.jvm.hotspot.oops.Klass
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 aClass Lsun/jvm/hotspot/oops/Oop;
MethodParameters:
Name Flags
aClass
public static long getOopSize(sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.jvm.hotspot.oops.java_lang_Class.oopSizeField:Lsun/jvm/hotspot/oops/IntField;
aload 0
invokevirtual sun.jvm.hotspot.oops.IntField.getValue:(Lsun/jvm/hotspot/oops/Oop;)I
i2l
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 aClass Lsun/jvm/hotspot/oops/Oop;
MethodParameters:
Name Flags
aClass
public static java.lang.String asExternalName(sun.jvm.hotspot.oops.Oop);
descriptor: (Lsun/jvm/hotspot/oops/Oop;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokestatic sun.jvm.hotspot.oops.java_lang_Class.asKlass:(Lsun/jvm/hotspot/oops/Oop;)Lsun/jvm/hotspot/oops/Klass;
astore 1
start local 1 1: aload 1
ifnonnull 8
2: getstatic sun.jvm.hotspot.runtime.BasicType.T_VOID:Lsun/jvm/hotspot/runtime/BasicType;
astore 2
start local 2 3: aload 0
invokevirtual sun.jvm.hotspot.oops.Oop.getHandle:()Lsun/jvm/hotspot/debugger/OopHandle;
getstatic sun.jvm.hotspot.oops.java_lang_Class.arrayKlassOffset:I
i2l
invokeinterface sun.jvm.hotspot.debugger.OopHandle.getAddressAt:(J)Lsun/jvm/hotspot/debugger/Address;
4: invokestatic sun.jvm.hotspot.oops.Metadata.instantiateWrapperFor:(Lsun/jvm/hotspot/debugger/Address;)Lsun/jvm/hotspot/oops/Metadata;
checkcast sun.jvm.hotspot.oops.ArrayKlass
astore 3
start local 3 5: aload 3
ifnull 7
6: aload 3
invokevirtual sun.jvm.hotspot.oops.ArrayKlass.getElementType:()I
invokestatic sun.jvm.hotspot.runtime.BasicType.intToBasicType:(I)Lsun/jvm/hotspot/runtime/BasicType;
astore 2
7: StackMap locals: sun.jvm.hotspot.oops.Klass sun.jvm.hotspot.runtime.BasicType sun.jvm.hotspot.oops.ArrayKlass
StackMap stack:
aload 2
invokevirtual sun.jvm.hotspot.runtime.BasicType.getName:()Ljava/lang/String;
areturn
end local 3 end local 2 8: StackMap locals:
StackMap stack:
aload 1
invokevirtual sun.jvm.hotspot.oops.Klass.getName:()Lsun/jvm/hotspot/oops/Symbol;
invokevirtual sun.jvm.hotspot.oops.Symbol.asString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 aClass Lsun/jvm/hotspot/oops/Oop;
1 9 1 k Lsun/jvm/hotspot/oops/Klass;
3 8 2 type Lsun/jvm/hotspot/runtime/BasicType;
5 8 3 ak Lsun/jvm/hotspot/oops/ArrayKlass;
MethodParameters:
Name Flags
aClass
}
SourceFile: "java_lang_Class.java"
NestMembers:
sun.jvm.hotspot.oops.java_lang_Class$1
InnerClasses:
sun.jvm.hotspot.oops.java_lang_Class$1