APIdia Launch Partner
Top Fields Constructors Methods
sun.jvm.hotspot.tools

public Class HeapSummary

extends Tool
Class Inheritance
Imports
java.io.*, java.util.*, sun.jvm.hotspot.gc.epsilon.*, sun.jvm.hotspot.gc.g1.*, sun.jvm.hotspot.gc.parallel.*, sun.jvm.hotspot.gc.serial.*, sun.jvm.hotspot.gc.shenandoah.*, sun.jvm.hotspot.gc.shared.*, sun.jvm.hotspot.gc.z.*, sun.jvm.hotspot.debugger.JVMDebugger, sun.jvm.hotspot.memory.*, sun.jvm.hotspot.oops.*, sun.jvm.hotspot.runtime.*

Field Summary

Modifier and TypeField and Description
private static String
Inherited from sun.jvm.hotspot.tools.Tool:
DEBUGEE_COREDEBUGEE_PIDDEBUGEE_REMOTE

Constructor Summary

AccessConstructor and Description
public
public

Method Summary

Modifier and TypeMethod and Description
private long
getFlagValue(String name, Map<K, V> flagMap)

public String
public static void
main(String[] args)

public void
public void
private void
printG1Space(PrintStream tty, String spaceName, long regionNum, long used, long capacity)

private void
printGCAlgorithm(Map<K, V> flagMap)

private void
private void
private void
private void
private void
printValMB(String title, long value)

private void
printValMB(PrintStream tty, String title, long value)

private void
printValue(String title, long value)

private void
printValue(PrintStream tty, String title, long value)

public void
run()

Implements java.lang.Runnable.run.

Runs this operation.

Inherited from sun.jvm.hotspot.tools.Tool:
executegetAgentgetDebugeeTypeneedsJavaPrefixprintFlagsUsageprintUsagesetAgentsetDebugeeTypestartstopusage

Field Detail

alignmentback to summary
private static String alignment

Constructor Detail

HeapSummaryback to summary
public HeapSummary()
HeapSummaryback to summary
public HeapSummary(JVMDebugger d)

Method Detail

getFlagValueback to summary
private long getFlagValue(String name, Map<K, V> flagMap)
getNameback to summary
public String getName()

Overrides sun.jvm.hotspot.tools.Tool.getName.

Annotations
@Override
mainback to summary
public static void main(String[] args)
printG1HeapSummaryback to summary
public void printG1HeapSummary(G1CollectedHeap g1h)
printG1HeapSummaryback to summary
public void printG1HeapSummary(PrintStream tty, G1CollectedHeap g1h)
printG1Spaceback to summary
private void printG1Space(PrintStream tty, String spaceName, long regionNum, long used, long capacity)
printGCAlgorithmback to summary
private void printGCAlgorithm(Map<K, V> flagMap)
printGenback to summary
private void printGen(Generation gen)
printMutableSpaceback to summary
private void printMutableSpace(MutableSpace space)
printPSYoungGenback to summary
private void printPSYoungGen(PSYoungGen youngGen)
printSpaceback to summary
private void printSpace(ContiguousSpace space)
printValMBback to summary
private void printValMB(String title, long value)
printValMBback to summary
private void printValMB(PrintStream tty, String title, long value)
printValueback to summary
private void printValue(String title, long value)
printValueback to summary
private void printValue(PrintStream tty, String title, long value)
runback to summary
public void run()

Implements java.lang.Runnable.run.

Doc from java.lang.Runnable.run.

Runs this operation.