|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aicas.jamaica.lang.JitVmInterface
public abstract class JitVmInterface
JitCompilerVMInterface defines the native VM interface needed for the Jamaica just-in-time compiler.
| Method Summary | |
|---|---|
static long |
adrOfMemberDescriptor(Member m)
Obtain the memory address of the descriptor of a member |
static long |
adrOfObject(Object o)
Obtain the memory address of an object |
static long |
allocExecutableMemory(long freeMemory,
int requestedBytes)
alloc executable memory |
static long |
allocRawExecutableMemoryPages(int pages)
alloc executable memory without any memory header the amount of allocated memory is determined by the number of pages |
static int |
ANCESTORS_ENTRIES()
Obtain the address of a helper routine ANCESTORS_ENTRIES |
static int |
ANCESTORS_SIZE()
Obtain the address of a helper routine ANCESTORS_SIZE |
static int |
ARRAY_BODY_SIZE()
Obtain the address of a helper routine ARRAY_BODY_SIZE |
static int |
ARRAY_ELEMENTS_IN_HEADER()
Obtain the address of a helper routine jamaicaPropagateException2 |
static int |
ARRAY_ELEMENTS()
Obtain the address of a helper routine ARRAY_ELEMENTS |
static int |
ARRAY_HEADER_WORDS()
Obtain the address of a helper routine ARRAY_HEADER_WORDS |
static int |
ARRAY_LENGTH_DEPTH()
Obtain the address of a helper routine ARRAY_LENGTH_DEPTH |
static boolean |
ARRAY64_ALIGNED()
Obtain the address of a helper routine ARRAY64_ALIGNED |
static int |
ARRAY64_PADDING()
Obtain the address of a helper routine ARRAY64_PADDING |
static byte[] |
byteCode(Member m)
Obtain the byte code for a given method or constructor. |
static int |
byteCodeSize(Member m)
Obtain the byte code size for a given method or constructor. |
static void |
changedMethodToCompiledMode(Member method,
long methodAddress,
long stubAddress)
changedMethodToCompiledMode save the given compiled code into the method descriptor to the given method |
static void |
changeMethodToInterpretedMode(Member method)
Change back to interpreted mode for a given address of a method descriptor i.e. method or constructor NOTE: this method does not free memory ! |
static int |
CLASS_ANCESTORS()
Obtain the address of a helper routine CLASS_ANCESTORS |
static int |
CLASS_ELEMENT_CLASS()
Obtain the address of a helper routine CLASS_ELEMENT_CLASS |
static int |
CLASS_IMPLEMENTS()
Obtain the address of a helper routine CLASS_IMPLEMENTS |
static int |
CLASS_INTERFACE_ID()
Obtain the address of a helper routine CLASS_INTERFACE_ID |
static int |
CLASS_METHOD_TABLE()
Obtain the address of a helper routine CLASS_METHOD_TABLE |
static int |
CLASS_STATE_AND_ACCESS()
Obtain the address of a helper routine CLASS_STATE_AND_ACCESS |
static Class |
cPoolClass(Class cl,
int index)
Obtain the CPool Class entry at the given index. |
static double |
cPoolDouble(Class cl,
int index)
Obtain the CPool Double entry at the given index. |
static Field |
cPoolField(Class cl,
int index)
Obtain the CPool Field entry at the given index. |
static float |
cPoolFloat(Class cl,
int index)
Obtain the CPool Float entry at the given index. |
static int |
cPoolInteger(Class cl,
int index)
Obtain the CPool Integer entry at the given index. |
static long |
cPoolLong(Class cl,
int index)
Obtain the CPool Long entry at the given index. |
static Member |
cPoolMethod(Class cl,
int index)
Obtain the CPool Method/Constructor entry at the given index. |
static String |
cPoolString(Class cl,
int index)
Obtain the CPool String entry at the given index. |
static int |
cPoolTag(Class cl,
int index)
Obtain the CPool tag at the given index. |
static byte[] |
cPoolUtf8(Class cl,
int index)
Obtain the CPool Utf8 entry at the given index. |
static int[] |
exceptionTable(Member m)
Obtain the exception table for a given method or constructor. |
static int |
FIELD_BYTE_OFFSET()
Obtain the address of a helper routine FIELD_BYTE_OFFSET |
static int |
FIELD_OFFSET()
Obtain the address of a helper routine FIELD_OFFSET |
static int |
FIELD_STATIC_VALUE_1()
Obtain the address of a helper routine FIELD_STATIC_VALUE_1 |
static int |
FIELD_STATIC_VALUE_2()
Obtain the address of a helper routine FIELD_STATIC_VALUE_2 |
static int |
FIELD_STATIC_VALUE_R()
Obtain the address of a helper routine FIELD_STATIC_VALUE_R |
static int |
fieldByteOffset(Field field)
Obtain the Jamaica 6 byte offset of a given instance Field |
static int |
fieldOffset(Field field)
Obtain the offset of a given instance Field |
static int |
FRAME_CALLER_FRAME()
Obtain the address of a helper routine FRAME_CALLER_FRAME |
static int |
FRAME_METHOD()
Obtain the address of a helper routine FRAME_METHOD |
static int |
FRAME_OLD_INDEX()
Obtain the address of a helper routine FRAME_OLD_INDEX |
static int |
FRAME_PC_OR_LONGJMPBUF()
Obtain the address of a helper routine FRAME_PC_OR_LONGJMPBUF |
static int |
FRAME_SAVED_MEMAREA()
Obtain the address of a helper routine FRAME_SAVED_MEMAREA |
static int |
FRAME_SIZE_WITH_SYNC_OBJECT()
Obtain the address of a helper routine FRAME_SIZE_WITH_SYNC_OBJECT |
static int |
FRAME_SIZE_WITHOUT_SYNC_OBJECT()
Obtain the address of a helper routine FRAME_SIZE_WITHOUT_SYNC_OBJECT |
static int |
FRAME_SYNC_OBJECT()
Obtain the address of a helper routine FRAME_SYNC_OBJECT |
static int |
FRAME_SYNCCOUNT()
Obtain the address of a helper routine FRAME_SYNCCOUNT |
static void |
freeExecutableMemory(long cAdr)
free executable memory |
static int |
gcenvGreyList2Offset()
Obtain the offset of the greyList2 field in the GCEnv structure. |
static int |
gcenvWhiteOffset()
Obtain the offset of the white field in the GCEnv structure. |
static int |
getAccessFlags(Member method)
Obtain the access flags of a member |
static long |
getCompiledCodeAddress(long mdAdr)
get the physical address of JAMAICA_METHOD_COMPILED_CODE for a given address of a method descriptor |
static int |
getCompiledCodeSize(long cAdr)
getCompiledCodeSize returns the amount of memory which was needed to write a given method to the memory |
static long |
getCompiledStubAddress(long mdAdr)
get the physical address of JAMAICA_METHOD_CODE_DATA for a given address of a method descriptor |
static int |
getMethodCounter(long cAdr)
getMethodCounter return the internal counter of a specified method which decides if that given method is declared to be thrown away (memory wil be freed) |
static int |
getMethodCounterOffset()
at the begin of each JIT generated code we save a struct where we keep internal informations getMethodCounterOffset returns the offset to access the method counter variable within the struct |
static int |
getPageSize()
get page size |
static long |
getUniqueClassLoaderID(ClassLoader cl)
Obtain the unique id for the given classLoader |
static boolean |
hasReverseStub(Member m)
Check if a reverse stub exists for the given method's signature |
static int |
interfaceId(Class cl)
Obtain the id of a given interface class. |
static boolean |
isBigEndian()
check for big endian |
static boolean |
isNativeMethod(Member method)
Check if a member i.e. a Method or a Constructor from a known method descriptor address is native or compiled |
static int |
JAMAICA_METHOD_METHOD_INDEX_SHIFT()
Obtain the address of a helper routine JAMAICA_METHOD_METHOD_INDEX_SHIFT |
static int |
JAMAICAGC_HEAD_COLOR()
Obtain the address of a helper routine JAMAICAGC_HEAD_COLOR |
static int |
JAVA_LANG_THREAD_PENDINGEXCEPTION()
Obtain the address of a helper routine jamaicaPropagateException2 |
static int |
JSR_PC_OFFSET()
Obtain the address of a helper routine JSR_PC_OFFSET |
static int |
METHOD_ACCESS()
Obtain the address of a helper routine METHOD_ACCESS |
static int |
METHOD_CODE_DATA()
Obtain the address of a helper routine METHOD_CODE_DATA |
static int |
METHOD_COMPILED_CODE()
Obtain the address of a helper routine jamaicaPropagateException2 |
static int |
methodOffset(Method method)
Obtain the offset of a given virtual or interface Method |
static int |
MONITOR_ID_POS()
Obtain the address of a helper routine MONITOR_ID_POS |
static int |
MONITOR_NEST_POS()
Obtain the address of a helper routine MONITOR_NEST_POS |
static String |
nativeGetFeatureName(Member method)
Obtain the name for a feature from a known method * i.e. a Method or a Constructor. |
static Member |
nativeGetMember(Object method)
Convert an internal representation of a method from a known method descriptor address into a member i.e. a Method or a Constructor.If the internal representation is a static initializer, return it as a normal method. |
static Object |
nativeGetPreemptedMethod()
nativeGetPreemptedMethod searches for the method that got preempted by the JitProfiler ATTENTION: This function is inherently not real-time. |
static long |
nativeRoutineAddDouble()
Obtain the address of a helper routine addDouble |
static long |
nativeRoutineAddFloat()
Obtain the address of a helper routine addFloat |
static long |
nativeRoutineAllocJavaObject()
Obtain the address of a helper routine jamaicaInterpreter_allocJavaObject |
static long |
nativeRoutineAllocMultiArray()
Obtain the address of a helper routine jamaicaInterpreter_allocMultiArray |
static long |
nativeRoutineAllocSimpleArray()
Obtain the address of a helper routine jamaicaInterpreter_allocSimpleArray |
static long |
nativeRoutineCallFromCompiled()
Obtain the address of a helper routine call_from_compiled. |
static long |
nativeRoutineCheckAssign()
Obtain the address of a helper routine checkAssign. |
static long |
nativeRoutineCheckAssignment()
Obtain the address of a helper routine checkassignment. |
static long |
nativeRoutineCleanSavedRefs()
Obtain the address of a helper routine cleanSavedRefs |
static long |
nativeRoutineClearRefsOnExc()
Obtain the address of a helper routine clearRefsOnExc |
static long |
nativeRoutineCmpDoubleModeG()
Obtain the address of a helper routine cmpDoubleModeG. |
static long |
nativeRoutineCmpDoubleModeL()
Obtain the address of a helper routine cmpDoubleModeL. |
static long |
nativeRoutineCmpFloatModeG()
Obtain the address of a helper routine cmpFloatModeG. |
static long |
nativeRoutineCmpFloatModeL()
Obtain the address of a helper routine cmpFloatModeL. |
static long |
nativeRoutineCmpLong()
Obtain the address of a helper routine cmpLong() |
static long |
nativeRoutineCompatibleClass()
Obtain the address of a helper routine compatibleClass. |
static long |
nativeRoutineCreateJBIFrame()
Obtain the address of a helper routine createJBIFrame |
static long |
nativeRoutineCreateLocalRef()
Obtain the address of a helper routine createLocalRef |
static long |
nativeRoutineDebugBreak()
Obtain the address of a helper routine debugBreak |
static long |
nativeRoutineDiv32()
Obtain the address of a helper routine div32 |
static long |
nativeRoutineDiv64()
Obtain the address of a helper routine div64 |
static long |
nativeRoutineDivDouble()
Obtain the address of a helper routine divDouble |
static long |
nativeRoutineDivFloat()
Obtain the address of a helper routine divFloat |
static long |
nativeRoutineDoubleToFloat()
Obtain the address of a helper routine doubleToFloat |
static long |
nativeRoutineDoubleToInt()
Obtain the address of a helper routine doubleToInt |
static long |
nativeRoutineDoubleToLong()
Obtain the address of a helper routine doubleToLong |
static long |
nativeRoutineFloatToDouble()
Obtain the address of a helper routine floatToDouble |
static long |
nativeRoutineFloatToInt()
Obtain the address of a helper routine floatToInt |
static long |
nativeRoutineFloatToLong()
Obtain the address of a helper routine floatToLong |
static long |
nativeRoutineGetArrayByte()
Obtain the address of a helper routine jitCompiler_Get_Array_Byte. |
static long |
nativeRoutineGetArrayChar()
Obtain the address of a helper routine jitCompiler_Get_Array_Char. |
static long |
nativeRoutineGetArrayDouble()
Obtain the address of a helper routine jitCompiler_Get_Array_Double. |
static long |
nativeRoutineGetArrayFloat()
Obtain the address of a helper routine jitCompiler_Get_Array_Float. |
static long |
nativeRoutineGetArrayInteger()
Obtain the address of a helper routine jitCompiler_Get_Array_Integer. |
static long |
nativeRoutineGetArrayLong()
Obtain the address of a helper routine jitCompiler_Get_Array_Long. |
static long |
nativeRoutineGetArrayRef()
Obtain the address of a helper routine jitCompiler_Get_Array_Ref. |
static long |
nativeRoutineGetArrayShort()
Obtain the address of a helper routine jitCompiler_Get_Array_Short. |
static long |
nativeRoutineGetClassAddress(Method method)
Obtain the address of the class, the given method is defined in (used by jni stub generator) |
static long |
nativeRoutineGetInterfaceMethod()
Obtain the address of a helper routine getInterfaceMethod |
static long |
nativeRoutineHaltNullPointerDetected()
nativeRoutineHaltNullPointerDetected is a routine used for debugging purpose that checks selected variables during the runtime for NullPointer |
static long |
nativeRoutineInitializeClass()
Obtain the address of a helper routine init_class |
static long |
nativeRoutineIntToDouble()
Obtain the address of a helper routine intToDouble |
static long |
nativeRoutineIntToFloat()
Obtain the address of a helper routine intToFloat |
static long |
nativeRoutineIsNanDouble()
Obtain the address of a helper routine isNanDouble |
static long |
nativeRoutineIsNanFloat()
Obtain the address of a helper routine isNanFloat |
static long |
nativeRoutineJamaicaPropagateException2()
Obtain the address of a helper routine jamaicaPropagateException2 |
static long |
nativeRoutineJamaicaSchedulerAttach()
Obtain the address of a helper routine jamaicaSchedulerAttach |
static long |
nativeRoutineJamaicaSchedulerDetach()
Obtain the address of a helper routine jamaicaSchedulerDetach |
static long |
nativeRoutineLoadBooleanArray()
Obtain the address of a helper routine loadBooleanArray. |
static long |
nativeRoutineLongToDouble()
Obtain the address of a helper routine longToDouble |
static long |
nativeRoutineLongToFloat()
Obtain the address of a helper routine longToFloat |
static long |
nativeRoutineMod32()
Obtain the address of a helper routine mod32 |
static long |
nativeRoutineMod64()
Obtain the address of a helper routine mod64 |
static long |
nativeRoutineModDouble()
Obtain the address of a helper routine modDouble |
static long |
nativeRoutineModFloat()
Obtain the address of a helper routine modFloat |
static long |
nativeRoutineMonitorEnter()
Obtain the address of a helper routine jamaicaMonitor_enter |
static long |
nativeRoutineMonitorExit()
Obtain the address of a helper routine jamaicaMonitor_exit |
static long |
nativeRoutineMul64()
Obtain the address of a helper routine mul64 |
static long |
nativeRoutineMulDouble()
Obtain the address of a helper routine mulDouble |
static long |
nativeRoutineMulFloat()
Obtain the address of a helper routine mulFloat |
static long |
nativeRoutineNegDouble()
Obtain the address of a helper routine negDouble. |
static long |
nativeRoutineNegFloat()
Obtain the address of a helper routine negFloat. |
static long |
nativeRoutinePrint()
Obtain the address of a helper routine that prints a C string. |
static long |
nativeRoutinePrintInt32()
Obtain the address of a helper routine that prints a 32 bit integer value. |
static long |
nativeRoutinePropagateException()
Obtain the address of a helper routine propagateException. |
static long |
nativeRoutineRemoveJBIFrame()
Obtain the address of a helper routine removeJBIFrame |
static long |
nativeRoutineSetArrayByte()
Obtain the address of a helper routine jitCompiler_Set_Array_Byte. |
static long |
nativeRoutineSetArrayChar()
Obtain the address of a helper routine jitCompiler_Set_Array_Char. |
static long |
nativeRoutineSetArrayDouble()
Obtain the address of a helper routine jitCompiler_Set_Array_Double. |
static long |
nativeRoutineSetArrayFloat()
Obtain the address of a helper routine jitCompiler_Set_Array_Float. |
static long |
nativeRoutineSetArrayInteger()
Obtain the address of a helper routine jitCompiler_Set_Array_Integer. |
static long |
nativeRoutineSetArrayLong()
Obtain the address of a helper routine jitCompiler_Set_Array_Long. |
static long |
nativeRoutineSetArrayRef()
Obtain the address of a helper routine jitCompiler_Set_Array_Ref. |
static long |
nativeRoutineSetArrayShort()
Obtain the address of a helper routine jitCompiler_Set_Array_Short. |
static long |
nativeRoutineSetJump()
Obtain the address of a helper routine setjmp. |
static long |
nativeRoutineShiftLongL()
Obtain the address of a helper routine ShiftLongL |
static long |
nativeRoutineShiftLongR()
Obtain the address of a helper routine ShiftLongR |
static long |
nativeRoutineStoreBooleanArray()
Obtain the address of a helper routine storeBooleanArray. |
static long |
nativeRoutineSubDouble()
Obtain the address of a helper routine subDouble |
static long |
nativeRoutineSubFloat()
Obtain the address of a helper routine subFloat |
static long |
nativeRoutineSyncPointFull()
Obtain the address of a helper routine syncPointFull. |
static long |
nativeRoutineTAE()
Obtain the address of a helper routine tAE (throw ArithmeticException) |
static long |
nativeRoutineTAIOOBE()
Obtain the address of a helper routine tAIOOBE (throw ArrayIndexOutOfBoundsException) |
static long |
nativeRoutineTASE()
Obtain the address of a helper routine tASE (throw ArrayStoreException) |
static long |
nativeRoutineTCCE()
Obtain the address of a helper routine tCCE (throw ClassCastException) |
static long |
nativeRoutineThrowFromCompiled()
Obtain the address of a helper routine jamaica_throw_from_compiled |
static long |
nativeRoutineTNASE()
Obtain the address of a helper routine tNASE (throw NegativeArraySizeException) |
static long |
nativeRoutineTNPE()
Obtain the address of a helper routine tNPE (throw NullPointerException) |
static long |
nativeRoutineTSIOOBE()
Obtain the address of a helper routine tSIOOBE (throw StringIndexOutOfBoundsException) |
static long |
nativeRoutineTSOE()
Obtain the address of a helper routine tSOE |
static long |
nativeRoutineUshiftLongR()
Obtain the address of a helper routine UshiftLongR |
static int |
OBJECT_HEADER_SIZE()
Obtain the address of a helper routine OBJECT_HEADER_SIZE |
static int |
OBJECT_JAVA_CLASS()
Obtain the address of a helper routine OBJECT_JAVA_CLASS |
static int |
OBJECT_MONITOR_MASK_UNSHIFTED()
Obtain the address of a helper routine OBJECT_MONITOR_MASK_UNSHIFTED |
static int |
OBJECT_MONITOR_MASK()
Obtain the address of a helper routine OBJECT_MONITOR_MASK |
static int |
OBJECT_MONITOR_SHIFT()
Obtain the address of a helper routine OBJECT_MONITOR_SHIFT |
static int |
OBJECT_MONITOR()
Obtain the address of a helper routine OBJECT_MONITOR |
static int |
OBJECT_SIZE()
Obtain the address of a helper routine OBJECT_SIZE |
static void |
registerJNIReverseStub(long reverseStubAddress,
AccessibleObject m)
Register a new reverse stub for a JNI method |
static void |
registerJNIStub(long stubAddress,
AccessibleObject m)
Register a new stub for a JNI method |
static void |
registerReverseStub(byte[] revStub,
int id)
Register a new reverse (compiled -> interpreted) stub method for the given signature id. |
static void |
setMethodCounter(long cAdr,
int methodCounter)
setMethodCounter increments a internal counter of a specified method which decides if that given method is declared to be thrown away (memory wil be freed) |
static int |
sizeOfJumpBuffer()
Obtain the size of the longjump-buffer |
static int |
threadCalledMethodOffset()
Obtain the offset of the called method field in the thread structure. |
static int |
threadCStackLimitOffset()
Obtain the offset of the C stack limit field in the thread structure. |
static int |
threadFrameOffset()
Obtain the offset of the frame field in the thread structure. |
static int |
threadJavaStackSizeOffset()
Obtain the offset of the javaStackSize field in the thread structure. |
static int |
threadJavaThreadOffset()
Obtain the offset of the javaThread field in the thread structure. |
static int |
threadMutatorContLocalsIndexOffset()
Obtain the offset of the mutator's cont locals index field in the thread structure. |
static int |
threadMutatorContLocalsOffset()
Obtain the offset of the mutator's cont locals field in the thread structure. |
static int |
threadMutatorGCEnvOffset()
Obtain the offset of the mutuator's gcenv field in the thread structure. |
static int |
threadRescheduleOffset()
Obtain the offset of the reschedule field in the thread structure. |
static int |
threadStackOffset()
Obtain the offset of the Java stack in the thread structure. |
static int |
threadStateOffset()
Obtain the offset of the state field in the thread structure. |
static int |
threadStateRunningConst()
Obtain the JAMAICA_THREAD_STATE_RUNNING constant |
static int |
threadThreadOffset()
Obtain the offset of the Java thread in the thread structure. |
static void |
writeCode(long memoryAddress,
byte[] code,
int[] code_relocs)
write binary code to a given allocated memory address |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isBigEndian()
public static int getPageSize()
public static long allocRawExecutableMemoryPages(int pages)
public static long allocExecutableMemory(long freeMemory,
int requestedBytes)
freeMemory - the size in bytes of usable freeMemory
its needed because on file systems we probably need
to alloc more memory than just needed for this coderequestedBytes - public static void freeExecutableMemory(long cAdr)
cAdr - address to memory
public static void writeCode(long memoryAddress,
byte[] code,
int[] code_relocs)
memoryAddress - the already allocated memory for this codecode - the compiled code using JBI calling conventionscodeRelocs - offsets in code that require relocation
public static void changedMethodToCompiledMode(Member method,
long methodAddress,
long stubAddress)
method - the method or constructor for that we have JIT compiled codemethodAddress - address to a generated method code using JBI calling conventionsstubAddress - address to a generated stub codepublic static void changeMethodToInterpretedMode(Member method)
method - reference to a memberpublic static int getCompiledCodeSize(long cAdr)
cAdr - the physical address of a JIT generated method
public static void setMethodCounter(long cAdr,
int methodCounter)
cAdr - the physical address of a JIT generated methodmethodCounter - the value we want to set the internal counter for method callspublic static int getMethodCounter(long cAdr)
cAdr - the physical address of a JIT generated method
public static int getMethodCounterOffset()
public static long getCompiledCodeAddress(long mdAdr)
mdAdr - address of method descriptor of a methodpublic static long getCompiledStubAddress(long mdAdr)
mdAdr - address of method descriptor of a methodpublic static long nativeRoutineHaltNullPointerDetected()
public static void registerJNIStub(long stubAddress,
AccessibleObject m)
stubAddress - a - reference to an AccessibleObject
public static void registerJNIReverseStub(long reverseStubAddress,
AccessibleObject m)
reverseStubAddress - a - reference to an AccessibleObject
public static void registerReverseStub(byte[] revStub,
int id)
revStub - the code of the reverse stubid - the id of the signature of the methods to use this
reverse stub forpublic static byte[] byteCode(Member m)
m - the method or constructor
public static int byteCodeSize(Member m)
m - the method or constructor
public static int[] exceptionTable(Member m)
m - the method or constructor
public static byte[] cPoolUtf8(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static int cPoolInteger(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static float cPoolFloat(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static long cPoolLong(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static double cPoolDouble(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static Class cPoolClass(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static String cPoolString(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static Field cPoolField(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static Member cPoolMethod(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static int cPoolTag(Class cl,
int index)
cl - the class whose CPool we want to accessindex - the cpool index
public static int fieldOffset(Field field)
field - the instance field whose offset we want to access
public static int fieldByteOffset(Field field)
field - the instance field whose offset we want to access
public static int methodOffset(Method method)
method - the virtual or interface method whose offset we
want to access
public static int interfaceId(Class cl)
cl - the interface class whose id we want to determine
public static long adrOfMemberDescriptor(Member m)
m - the method or field
public static long adrOfObject(Object o)
o - the object
public static boolean hasReverseStub(Member m)
m - a method or constructor
public static long nativeRoutinePrintInt32()
public static long nativeRoutinePrint()
public static long nativeRoutineSetJump()
public static long nativeRoutineCleanSavedRefs()
public static long nativeRoutineClearRefsOnExc()
public static long nativeRoutineCreateJBIFrame()
public static long nativeRoutineRemoveJBIFrame()
public static long nativeRoutineGetInterfaceMethod()
public static long nativeRoutineCallFromCompiled()
public static long nativeRoutineSyncPointFull()
public static long nativeRoutineTSOE()
public static long nativeRoutineInitializeClass()
public static long nativeRoutineAllocJavaObject()
public static long nativeRoutineAllocSimpleArray()
public static long nativeRoutineAllocMultiArray()
public static long nativeRoutineThrowFromCompiled()
public static long nativeRoutineMonitorEnter()
public static long nativeRoutineMonitorExit()
public static long nativeRoutineTAE()
public static long nativeRoutineTNPE()
public static long nativeRoutineTSIOOBE()
public static long nativeRoutineTAIOOBE()
public static long nativeRoutineTNASE()
public static long nativeRoutineTCCE()
public static long nativeRoutineTASE()
public static long nativeRoutineCheckAssign()
public static long nativeRoutineCheckAssignment()
public static long nativeRoutineLoadBooleanArray()
public static long nativeRoutineStoreBooleanArray()
public static long nativeRoutineSetArrayRef()
public static long nativeRoutineSetArrayByte()
public static long nativeRoutineSetArrayChar()
public static long nativeRoutineSetArrayShort()
public static long nativeRoutineSetArrayInteger()
public static long nativeRoutineSetArrayFloat()
public static long nativeRoutineSetArrayLong()
public static long nativeRoutineSetArrayDouble()
public static long nativeRoutineGetArrayRef()
public static long nativeRoutineGetArrayByte()
public static long nativeRoutineGetArrayChar()
public static long nativeRoutineGetArrayShort()
public static long nativeRoutineGetArrayInteger()
public static long nativeRoutineGetArrayFloat()
public static long nativeRoutineGetArrayLong()
public static long nativeRoutineGetArrayDouble()
public static long nativeRoutineCompatibleClass()
public static long nativeRoutinePropagateException()
public static long nativeRoutineCmpLong()
public static long nativeRoutineCmpFloatModeL()
public static long nativeRoutineCmpFloatModeG()
public static long nativeRoutineCmpDoubleModeL()
public static long nativeRoutineCmpDoubleModeG()
public static long nativeRoutineNegFloat()
public static long nativeRoutineNegDouble()
public static long nativeRoutineDiv64()
public static long nativeRoutineDiv32()
public static long nativeRoutineMul64()
public static long nativeRoutineMod32()
public static long nativeRoutineMod64()
public static long nativeRoutineAddFloat()
public static long nativeRoutineSubFloat()
public static long nativeRoutineMulFloat()
public static long nativeRoutineDivFloat()
public static long nativeRoutineModFloat()
public static long nativeRoutineAddDouble()
public static long nativeRoutineSubDouble()
public static long nativeRoutineMulDouble()
public static long nativeRoutineDivDouble()
public static long nativeRoutineModDouble()
public static long nativeRoutineIntToFloat()
public static long nativeRoutineLongToFloat()
public static long nativeRoutineDoubleToFloat()
public static long nativeRoutineIntToDouble()
public static long nativeRoutineLongToDouble()
public static long nativeRoutineFloatToInt()
public static long nativeRoutineFloatToDouble()
public static long nativeRoutineDoubleToInt()
public static long nativeRoutineFloatToLong()
public static long nativeRoutineDoubleToLong()
public static long nativeRoutineShiftLongL()
public static long nativeRoutineShiftLongR()
public static long nativeRoutineUshiftLongR()
public static long nativeRoutineIsNanFloat()
public static long nativeRoutineIsNanDouble()
public static long nativeRoutineDebugBreak()
public static int sizeOfJumpBuffer()
public static int threadStackOffset()
public static int threadThreadOffset()
public static int threadCStackLimitOffset()
public static int threadFrameOffset()
public static int threadJavaStackSizeOffset()
public static int threadMutatorGCEnvOffset()
public static int threadMutatorContLocalsOffset()
public static int threadMutatorContLocalsIndexOffset()
public static int threadCalledMethodOffset()
public static int threadRescheduleOffset()
public static int threadStateOffset()
public static int threadStateRunningConst()
public static int threadJavaThreadOffset()
public static int gcenvGreyList2Offset()
public static int gcenvWhiteOffset()
public static Object nativeGetPreemptedMethod()
public static Member nativeGetMember(Object method)
method - reference to method descriptor
public static String nativeGetFeatureName(Member method)
member -
public static boolean isNativeMethod(Member method)
member -
public static long nativeRoutineGetClassAddress(Method method)
public static long nativeRoutineCreateLocalRef()
public static long nativeRoutineJamaicaSchedulerAttach()
public static long nativeRoutineJamaicaSchedulerDetach()
public static long nativeRoutineJamaicaPropagateException2()
public static int JAMAICAGC_HEAD_COLOR()
public static int OBJECT_HEADER_SIZE()
public static int OBJECT_JAVA_CLASS()
public static int OBJECT_MONITOR()
public static int OBJECT_SIZE()
public static int ARRAY_LENGTH_DEPTH()
public static int ARRAY_ELEMENTS()
public static int ARRAY_HEADER_WORDS()
public static int ARRAY_BODY_SIZE()
public static int ARRAY_ELEMENTS_IN_HEADER()
public static boolean ARRAY64_ALIGNED()
public static int ARRAY64_PADDING()
public static int CLASS_METHOD_TABLE()
public static int CLASS_ANCESTORS()
public static int CLASS_STATE_AND_ACCESS()
public static int CLASS_INTERFACE_ID()
public static int CLASS_IMPLEMENTS()
public static int CLASS_ELEMENT_CLASS()
public static int ANCESTORS_SIZE()
public static int ANCESTORS_ENTRIES()
public static int FIELD_OFFSET()
public static int FIELD_BYTE_OFFSET()
public static int FIELD_STATIC_VALUE_1()
public static int FIELD_STATIC_VALUE_2()
public static int FIELD_STATIC_VALUE_R()
public static int METHOD_ACCESS()
public static int METHOD_COMPILED_CODE()
public static int METHOD_CODE_DATA()
public static int JAVA_LANG_THREAD_PENDINGEXCEPTION()
public static int JAMAICA_METHOD_METHOD_INDEX_SHIFT()
public static int JSR_PC_OFFSET()
public static int OBJECT_MONITOR_SHIFT()
public static int OBJECT_MONITOR_MASK_UNSHIFTED()
public static int OBJECT_MONITOR_MASK()
public static int MONITOR_ID_POS()
public static int MONITOR_NEST_POS()
public static int FRAME_CALLER_FRAME()
public static int FRAME_PC_OR_LONGJMPBUF()
public static int FRAME_METHOD()
public static int FRAME_SYNC_OBJECT()
public static int FRAME_OLD_INDEX()
public static int FRAME_SAVED_MEMAREA()
public static int FRAME_SYNCCOUNT()
public static int FRAME_SIZE_WITHOUT_SYNC_OBJECT()
public static int FRAME_SIZE_WITH_SYNC_OBJECT()
public static int getAccessFlags(Member method)
public static long getUniqueClassLoaderID(ClassLoader cl)
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||