Top Description Fields Constructors Methods
sun.jvm.hotspot.oops

public Class java_lang_Class

extends Object
Class Inheritance
Imports
java.util.*, sun.jvm.hotspot.debugger.*, sun.jvm.hotspot.memory.*, sun.jvm.hotspot.runtime.*, sun.jvm.hotspot.types.AddressField, .Type, .TypeDataBase, sun.jvm.hotspot.utilities.*, .Observable, .Observer

A utility class encapsulating useful oop operations

Field Summary

Modifier and TypeField and Description
pack-priv static int
pack-priv static int
pack-priv static IntField

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static String
asExternalName(Oop aClass)

Returns the Java name for this Java mirror

public static Klass
asKlass(Oop aClass)

get Klass* field at offset hc_klass_offset from a java.lang.Class object

public static long
getOopSize(Oop aClass)

get oop_size field at offset oop_size_offset from a java.lang.Class object

private static synchronized void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

arrayKlassOffsetback to summary
pack-priv static int arrayKlassOffset
klassOffsetback to summary
pack-priv static int klassOffset
oopSizeFieldback to summary
pack-priv static IntField oopSizeField

Constructor Detail

java_lang_Classback to summary
public java_lang_Class()

Method Detail

asExternalNameback to summary
public static String asExternalName(Oop aClass)

Returns the Java name for this Java mirror

asKlassback to summary
public static Klass asKlass(Oop aClass)

get Klass* field at offset hc_klass_offset from a java.lang.Class object

getOopSizeback to summary
public static long getOopSize(Oop aClass)

get oop_size field at offset oop_size_offset from a java.lang.Class object

initializeback to summary
private static synchronized void initialize(TypeDataBase db)