|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JavaRuntime
Represents an instance of a JavaVM within the ImageProcess
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Iterator |
getCompiledMethods()
This is short cut method. |
java.util.Iterator |
getHeapRoots()
Get the set of object and class roots known to the VM. |
java.util.Iterator |
getHeaps()
Get the set of heaps known by the VM |
java.util.Iterator |
getJavaClassLoaders()
Get the set of class loaders active in this VM |
ImagePointer |
getJavaVM()
Get the object that represents the virtual machine |
JavaVMInitArgs |
getJavaVMInitArgs()
Fetch the JavaVMInitArgs which were used to create this VM. |
java.util.Iterator |
getMonitors()
Provides access to the collection of monitors used in the JavaVM. |
JavaObject |
getObjectAtAddress(ImagePointer address)
Gets the object located at address address in the heap. |
java.util.Iterator |
getThreads()
Get the set of Java threads known by the VM |
java.lang.Object |
getTraceBuffer(java.lang.String bufferName,
boolean formatted)
Fetches implementation specific trace buffers, like the verbose GC buffer or the Universal Trace Engine (UTE) buffer |
int |
hashCode()
|
Methods inherited from interface com.ibm.dtfj.runtime.ManagedRuntime |
---|
getFullVersion, getVersion |
Method Detail |
---|
ImagePointer getJavaVM() throws CorruptDataException
CorruptDataException
JavaVMInitArgs getJavaVMInitArgs() throws DataUnavailable, CorruptDataException
DataUnavailable
- if the arguments are not available
CorruptDataException
java.util.Iterator getJavaClassLoaders()
JavaClassLoader
,
CorruptData
java.util.Iterator getThreads()
JavaThread
,
CorruptData
java.util.Iterator getCompiledMethods()
JavaMethod
,
CorruptData
java.util.Iterator getMonitors()
JavaMonitor
,
CorruptData
java.util.Iterator getHeaps()
JavaHeap
,
CorruptData
java.util.Iterator getHeapRoots()
JavaHeap
,
CorruptData
java.lang.Object getTraceBuffer(java.lang.String bufferName, boolean formatted) throws CorruptDataException
bufferName
- a String naming the buffer to be fetchedformatted
- true if formatting should be performed on the buffer, or
false if the raw buffer contents should be returned
CorruptDataException
JavaObject getObjectAtAddress(ImagePointer address) throws CorruptDataException, java.lang.IllegalArgumentException, MemoryAccessException, DataUnavailable
address
in the heap.
addr
- the ImagePointer
instance representing the start address of object in the heap;
JavaObject
instance representing the located object.
java.lang.IllegalArgumentException
- if address
is outside the heap's boundaries, or if it doesn't point to the start location of an object;
MemoryAccessException
- if address
is is in the heap but it's not accessible from the dump;
CorruptDataException
- if any data needed to build the returned instance of JavaObject
is corrupt.
DataUnavailable
- if any data needed to build the returned instance of JavaObject
is not available.JavaObject
boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
-
int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |