public interface IGCInspector extends IApexMemoryConstants
| Modifier and Type | Field and Description |
|---|---|
static long |
BARRIER_FOR_SIZE_IN_LOG
We want to see at least 2 digits: after printing 9999B, we print 10KB
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllocatedHeapReference() |
String |
getAllThreads(boolean withoutMonitors) |
String |
getAllThreadsSmart(boolean withoutMonitors) |
String |
getAndLogCurrentMemoryStatus() |
String |
getHeapHistogram() |
long |
getMarksweepDurationMillisForHeapHistogram() |
long |
getMarksweepDurationMillisForThreadDump() |
long |
getMaxHeapGbForHeapHistogram() |
Map<String,String> |
getThreadGroupsToAllocatedHeapNiceString() |
Map<String,String> |
getThreadNameToAllocatedHeapNiceString() |
void |
markNowAsAllocatedHeapReference() |
String |
saveHeapDump(Path path)
Save a heap-dump in given map.
|
void |
setMarksweepDurationMillisForHeapHistogram(long marksweepDurationMillisForHeapHistogram) |
void |
setMarksweepDurationMillisForThreadDump(long marksweepDurationMillisForThreadDump) |
void |
setMaxHeapGbForHeapHistogram(long maxHeapGbForHeapHistogram) |
static final long BARRIER_FOR_SIZE_IN_LOG
String getAndLogCurrentMemoryStatus()
String getHeapHistogram() throws IOException
IOExceptionString saveHeapDump(Path path) throws IOException
path - IOExceptionString getAllThreads(boolean withoutMonitors)
withoutMonitors - by default withoutMonitors=true in JConsole MBean for faster access to fasfter methodString getAllThreadsSmart(boolean withoutMonitors)
Map<String,String> getThreadGroupsToAllocatedHeapNiceString()
void clearAllocatedHeapReference()
void markNowAsAllocatedHeapReference()
long getMaxHeapGbForHeapHistogram()
void setMaxHeapGbForHeapHistogram(long maxHeapGbForHeapHistogram)
long getMarksweepDurationMillisForHeapHistogram()
void setMarksweepDurationMillisForHeapHistogram(long marksweepDurationMillisForHeapHistogram)
long getMarksweepDurationMillisForThreadDump()
void setMarksweepDurationMillisForThreadDump(long marksweepDurationMillisForThreadDump)
Copyright © 2014–2017 Pivotal Software, Inc.. All rights reserved.