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

public Class ObjectHistogramElement

extends Object
Class Inheritance
Imports
java.io.*, java.util.*, sun.jvm.hotspot.memory.*, sun.jvm.hotspot.runtime.*

Field Summary

Modifier and TypeField and Description
private long
private Klass
private long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
public long
getCount()

Number of instances of klass

public String
getDescription()

Human readable description

private String
public Klass
getKlass()

Klass for this ObjectHistogramElement

public long
getSize()

Total size of all these instances

public void
public static void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

countback to summary
private long count
klassback to summary
private Klass klass
sizeback to summary
private long size

Constructor Detail

ObjectHistogramElementback to summary
public ObjectHistogramElement(Klass k)

Method Detail

compareback to summary
public int compare(ObjectHistogramElement other)
getCountback to summary
public long getCount()

Number of instances of klass

getDescriptionback to summary
public String getDescription()

Human readable description

getInternalNameback to summary
private String getInternalName(Klass k)
getKlassback to summary
public Klass getKlass()

Klass for this ObjectHistogramElement

getSizeback to summary
public long getSize()

Total size of all these instances

printOnback to summary
public void printOn(PrintStream tty)
titleOnback to summary
public static void titleOn(PrintStream tty)
updateWithback to summary
public void updateWith(Oop obj)