public class JMapHeapDumpProvider extends Object implements IHeapDumpProvider
| Modifier and Type | Field and Description |
|---|---|
boolean |
defaultCompress |
File |
jdkHome |
| Constructor and Description |
|---|
JMapHeapDumpProvider() |
| Modifier and Type | Method and Description |
|---|---|
File |
acquireDump(VmInfo info,
File preferredLocation,
IProgressListener listener)
Acquire a heap dump from a locally running Java process.
|
List<JmapVmInfo> |
getAvailableVMs(IProgressListener listener)
Returns a list of locally running Java processes from which the heap dump
provider can attempt to acquire a heap dump
|
public File jdkHome
public boolean defaultCompress
public File acquireDump(VmInfo info, File preferredLocation, IProgressListener listener) throws SnapshotException
IHeapDumpProvideracquireDump in interface IHeapDumpProviderinfo - a descriptor of the Java process which should be dumpedpreferredLocation - a preferred filename under which the heap dump should be
saved. The IHeapDumpProvider is not obliged to provide
the heap dump at this locationlistener - a progress listenerSnapshotExceptionpublic List<JmapVmInfo> getAvailableVMs(IProgressListener listener) throws SnapshotException
IHeapDumpProvidergetAvailableVMs in interface IHeapDumpProviderlistener - a progress listenerVmInfo.SnapshotException