Methods Summary |
---|
public static native void | enableRecentAllocations(boolean enable)Enable or disable "recent allocation" tracking.
|
public static native boolean | getRecentAllocationStatus()
|
public static native byte[] | getRecentAllocations()Fill a buffer with data on recent heap allocations.
|
public static native java.lang.StackTraceElement[] | getStackTraceById(int threadId)Get a stack trace for the specified thread ID. The ID can be found
in the data from getThreadStats.
|
public static native byte[] | getThreadStats()Get status info for all threads. This is for the THST chunk.
Returns a byte array with the THST data, or null if something
went wrong.
|
public static native boolean | heapInfoNotify(int when)Enable heap info updates.
This is built into the VM, since that's where the heap is managed.
|
public static native boolean | heapSegmentNotify(int when, int what, boolean isNative)Enable heap segment updates for the java (isNative == false) or
native (isNative == true) heap.
This is built into the VM, since that's where the heap is managed.
|
public static native void | threadNotify(boolean enable)Enable thread notification.
This is built into the VM, since that's where threads get managed.
|