com.jrockit.memleak
Interface IHeapInfo
- All Known Subinterfaces:
- IHeapHistogram, ITypeHeapInfo<T>
- All Known Implementing Classes:
- HeapHistogram, HeapInfo, JoinedTypeHeapInfo, TypeHeapInfo
public interface IHeapInfo
Represents heap usage for some defined portion of the heap, including growth
rate. This only includes memory used by the instances themselves. That is,
objects referenced by instance fields are not included, nor are class objects
and static fields.
EMPTY_ARRAY
static final IHeapInfo[] EMPTY_ARRAY
- An empty
IHeapInfo
array.
getGrowthRate
float getGrowthRate()
- Returns:
- the growth rate in bytes per second.
getNumberOfInstances
int getNumberOfInstances()
- Returns:
- the number of live instances that this
IHeapInfo
represents.
getSizeOfInstances
long getSizeOfInstances()
- Returns:
- the total size in bytes that this
IHeapInfo
represents.
getTime
long getTime()
- Returns:
- the timestamp in milliseconds for when this
IHeapInfo
was
created.
Copyright © 1999, 2011, Oracle and/or its affiliates. All rights reserved.