Modifier and Type | Field and Description |
---|---|
private static TIB |
tibForArrayType |
private static TIB |
tibForClassType |
private static TIB |
tibForPrimitiveType |
Constructor and Description |
---|
DebugUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addrInBootImage(Address addr) |
(package private) static void |
boot(BootRecord theBootRecord) |
static void |
dumpAllThreadStacks()
Dump all threads & their stacks starting at the frame identified
by the threads saved contextRegisters (ip & fp fields).
|
static void |
dumpRef(ObjectReference ref) |
static boolean |
mappedVMRef(ObjectReference ref) |
static boolean |
validObject(Object ref)
Checks if a reference, its TIB pointer and type pointer
are all in the heap.
|
static boolean |
validRef(ObjectReference ref) |
static boolean |
validType(ObjectReference typeAddress)
Check if an address appears to point to an instance of RVMType
|
private static TIB tibForArrayType
private static TIB tibForClassType
private static TIB tibForPrimitiveType
public DebugUtil()
static void boot(BootRecord theBootRecord)
public static boolean validType(ObjectReference typeAddress)
typeAddress
- the address to checktrue
if and only if the address appears to
be an an instance of RVMTypepublic static void dumpAllThreadStacks()
public static boolean validObject(Object ref)
ref
- the reference to checktrue
if and only if the reference
refers to a valid objectpublic static boolean validRef(ObjectReference ref)
public static boolean mappedVMRef(ObjectReference ref)
public static void dumpRef(ObjectReference ref)
public static boolean addrInBootImage(Address addr)