public abstract class HprofHeapCollectable extends HprofHeapElement
Modifier and Type | Field and Description |
---|---|
protected Stack |
_visitedChildren |
_objectaddr
Constructor and Description |
---|
HprofHeapCollectable(long addr) |
Modifier and Type | Method and Description |
---|---|
abstract long |
children_size() |
abstract long[] |
children() |
void |
claim() |
abstract String |
className() |
boolean |
containsRef(long ref) |
long |
getRetainedSize() |
boolean |
isAlive() |
boolean |
isClaimed() |
void |
setClaimed(boolean x) |
void |
setLiveness(boolean lv) |
void |
setRetainedSize(long newSize) |
abstract long |
size() |
addr, equals, hashCode
protected Stack _visitedChildren
public HprofHeapCollectable(long addr)
addr
- address of the objectpublic long getRetainedSize()
public void claim()
public boolean isClaimed()
public void setClaimed(boolean x)
public boolean isAlive()
public void setLiveness(boolean lv)
public void setRetainedSize(long newSize)
newSize
- the object's retained size, computed in the analysis phasepublic abstract String className()
public abstract long children_size()
public abstract long[] children()
public abstract long size()
public boolean containsRef(long ref)
ref
- the address to find in this objectCopyright © 2008-2012. All Rights Reserved.