| java.lang.Object org.apache.harmony.drlvm.VMHelper
VMHelper | public class VMHelper (Code) | | Core class for DRLVM's vmmagic based helpers.
Resolved and initilized during VM startup
Note: All classes with vmmagic based helpers registred in VM are also resolved and initialized at VM startup
Note: If you need to initialize another DRLVM's specific utility class related to vmmagic infrastructure
refer to it from static section of this class: and it will also be automatically initialized
|
Method Summary | |
public static void | checkCast(Object obj, Address castTypePtr) | protected static void | fail() | public static int | getAllocationHandle(Address classHandle) | public static Address | getArrayClass(Address elemClassHandle) | public static int | getArrayElemSize(Address arrayClassHandle) | public static int | getFastTypeCheckDepth(Address classHandle) | public static Address | getInterfaceVTable(Object obj, Address intfTypePtr) | public static Address | getManagedClass(Object obj) | public static Address | getNativeClass(Object obj) | public static Address | getTlsBaseAddress() | public static int | getTypeSize(Address classHandle) | public static Address | getVTable(Object obj) | public static boolean | instanceOf(Object obj, Address castTypePtr) | public static boolean | isArray(Address classHandle) | public static boolean | isFinal(Address classHandle) | public static boolean | isInterface(Address classHandle) | public static boolean | isVMMagicPackageSupported() | public static void | memset0(Address addr, int size) | public static void | monitorEnter(Object obj) | public static void | monitorExit(Object obj) | public static Address | newResolvedUsingAllocHandleAndSize(int objSize, int allocationHandle) | public static Address | newVectorUsingAllocHandle(int arrayLen, int allocationHandle) | public static void | prefetch(Address addr, int distance, int stride) | public static void | writeBarrier(Address objBase, Address objSlot, Address source) |
CLASS_JLC_HANDLE_OFFSET | final public static int CLASS_JLC_HANDLE_OFFSET(Code) | | |
COMPRESSED_REFS_MODE | final public static boolean COMPRESSED_REFS_MODE(Code) | | |
COMPRESSED_REFS_OBJ_BASE_OFFSET | final public static long COMPRESSED_REFS_OBJ_BASE_OFFSET(Code) | | |
COMPRESSED_VTABLE_BASE_OFFSET | final public static long COMPRESSED_VTABLE_BASE_OFFSET(Code) | | |
COMPRESSED_VTABLE_MODE | final public static boolean COMPRESSED_VTABLE_MODE(Code) | | |
OBJ_INFO_OFFSET | final public static int OBJ_INFO_OFFSET(Code) | | |
OBJ_VTABLE_OFFSET | final public static int OBJ_VTABLE_OFFSET(Code) | | |
POINTER_TYPE_SIZE | final public static int POINTER_TYPE_SIZE(Code) | | |
VTABLE_CLASS_OFFSET | final public static int VTABLE_CLASS_OFFSET(Code) | | |
VTABLE_GCPRIVATE_OFFSET | final public static int VTABLE_GCPRIVATE_OFFSET(Code) | | |
checkCast | public static void checkCast(Object obj, Address castTypePtr)(Code) | | |
fail | protected static void fail()(Code) | | |
getAllocationHandle | public static int getAllocationHandle(Address classHandle)(Code) | | |
getArrayClass | public static Address getArrayClass(Address elemClassHandle)(Code) | | |
getArrayElemSize | public static int getArrayElemSize(Address arrayClassHandle)(Code) | | |
getFastTypeCheckDepth | public static int getFastTypeCheckDepth(Address classHandle)(Code) | | |
getInterfaceVTable | public static Address getInterfaceVTable(Object obj, Address intfTypePtr)(Code) | | |
getManagedClass | public static Address getManagedClass(Object obj)(Code) | | |
getNativeClass | public static Address getNativeClass(Object obj)(Code) | | |
getTlsBaseAddress | public static Address getTlsBaseAddress()(Code) | | |
getTypeSize | public static int getTypeSize(Address classHandle)(Code) | | |
instanceOf | public static boolean instanceOf(Object obj, Address castTypePtr)(Code) | | |
isArray | public static boolean isArray(Address classHandle)(Code) | | |
isFinal | public static boolean isFinal(Address classHandle)(Code) | | |
isInterface | public static boolean isInterface(Address classHandle)(Code) | | |
isVMMagicPackageSupported | public static boolean isVMMagicPackageSupported()(Code) | | |
memset0 | public static void memset0(Address addr, int size)(Code) | | |
monitorEnter | public static void monitorEnter(Object obj)(Code) | | |
newResolvedUsingAllocHandleAndSize | public static Address newResolvedUsingAllocHandleAndSize(int objSize, int allocationHandle)(Code) | | |
newVectorUsingAllocHandle | public static Address newVectorUsingAllocHandle(int arrayLen, int allocationHandle)(Code) | | |
prefetch | public static void prefetch(Address addr, int distance, int stride)(Code) | | |
writeBarrier | public static void writeBarrier(Address objBase, Address objSlot, Address source)(Code) | | |
|
|