public class DdmVmInternal extends Object
Modifier and Type | Method and Description |
---|---|
static void |
enableRecentAllocations(boolean enable)
Enable or disable "recent allocation" tracking.
|
static byte[] |
getRecentAllocations()
Fill a buffer with data on recent heap allocations.
|
static boolean |
getRecentAllocationStatus() |
static StackTraceElement[] |
getStackTraceById(int threadId)
Get a stack trace for the specified thread ID.
|
static byte[] |
getThreadStats()
Get status info for all threads.
|
static boolean |
heapInfoNotify(int when)
Enable heap info updates.
|
static boolean |
heapSegmentNotify(int when,
int what,
boolean isNative)
Enable heap segment updates for the java (isNative == false) or
native (isNative == true) heap.
|
static void |
threadNotify(boolean enable)
Enable thread notification.
|
public static void threadNotify(boolean enable)
public static boolean heapInfoNotify(int when)
when
- when to send the next HPIF chunkpublic static boolean heapSegmentNotify(int when, int what, boolean isNative)
public static byte[] getThreadStats()
public static StackTraceElement[] getStackTraceById(int threadId)
public static void enableRecentAllocations(boolean enable)
public static boolean getRecentAllocationStatus()
public static byte[] getRecentAllocations()