com.jrockit.memleak.value
Class HeapHistogram
java.lang.Object
com.jrockit.memleak.value.HeapInfo
com.jrockit.memleak.value.HeapHistogram
- All Implemented Interfaces:
- IHeapHistogram, IHeapInfo, java.lang.Iterable<ITypeHeapInfo<IClassInfo>>
public class HeapHistogram
- extends HeapInfo
- implements IHeapHistogram
A heap histogram holds an array of ITypeHeapInfo
objects which gives
statistics about the contents of types on the java heap.
- Since:
- Creation date: 2004-aug-30
- Author:
- Staffan Larsen, Helena Åberg Östlund
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
HeapHistogram
public HeapHistogram(int numInstances,
long size,
float growthRate,
long creationMillis,
java.util.List<ITypeHeapInfo<IClassInfo>> heapInfos,
java.util.Collection<ITypeHeapInfo<? extends INamedType>> groupedHeapInfos)
- Parameters:
numInstances
- size
- growthRate
- creationMillis
- heapInfos
- groupedHeapInfos
-
iterator
public java.util.Iterator<ITypeHeapInfo<IClassInfo>> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<ITypeHeapInfo<IClassInfo>>
getTypeHeapInfos
public java.util.Collection<ITypeHeapInfo<IClassInfo>> getTypeHeapInfos()
- Specified by:
getTypeHeapInfos
in interface IHeapHistogram
- Returns:
- a collection of
ITypeHeapInfo
:s.
getGroupedTypeHeapInfos
public java.util.Collection<ITypeHeapInfo<? extends INamedType>> getGroupedTypeHeapInfos()
- Specified by:
getGroupedTypeHeapInfos
in interface IHeapHistogram
- Returns:
- a collection of
ITypeHeapInfo
:s.
hashCode
public int hashCode()
- Specified by:
hashCode
in class HeapInfo
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class HeapInfo
Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.