| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | dumpHeap(String outputFile, boolean live)
Implements com. Dumps the heap to the |
| private native void | |
| public void | dumpThreads(String outputFile, HotSpotDiagnosticMXBean.
Overrides default com. Generate a thread dump to the given file in the given format. |
| private void | |
| public List | getDiagnosticOptions()
Implements com. Returns a list of |
| public ObjectName | getObjectName()
Implements java. Returns an |
| public VMOption | getVMOption(String name)
Implements com. Returns a |
| public void | setVMOption(String name, String value)
Implements com. Sets a VM option of the given name to the specified value. |
| HotSpotDiagnostic | back to summary |
|---|---|
| public HotSpotDiagnostic() | |
| dumpHeap | back to summary |
|---|---|
| public void dumpHeap(String outputFile, boolean live) throws IOException Implements com. Doc from com. Dumps the heap to the
If this method is called remotely from another process,
the heap dump output is written to a file named
| |
| dumpHeap0 | back to summary |
|---|---|
| private native void dumpHeap0(String outputFile, boolean live) throws IOException | |
| dumpThreads | back to summary |
|---|---|
| public void dumpThreads(String outputFile, HotSpotDiagnosticMXBean. Overrides default com. Doc from com. Generate a thread dump to the given file in the given format. The
When the format is specified as The thread dump will include output for all platform threads. It may include output for some or all virtual threads.
| |
| dumpThreads | back to summary |
|---|---|
| private void dumpThreads(OutputStream out, HotSpotDiagnosticMXBean. | |
| getDiagnosticOptions | back to summary |
|---|---|
| public List Implements com. Doc from com. Returns a list of
| |
| getObjectName | back to summary |
|---|---|
| public ObjectName getObjectName() Implements java. Doc from java. Returns an
| |
| getVMOption | back to summary |
|---|---|
| public VMOption getVMOption(String name) Implements com. Doc from com. Returns a
| |
| setVMOption | back to summary |
|---|---|
| public void setVMOption(String name, String value) Implements com. Doc from com. Sets a VM option of the given name to the specified value.
The new value will be reflected in a new
| |