com.caucho.env.hprof
Class HprofClassManager

java.lang.Object
  extended by com.caucho.env.hprof.HprofClassManager

public class HprofClassManager
extends java.lang.Object

Parses the JDK's .hprof file.


Field Summary
static long LEAF_FLAG
           
 
Method Summary
 void addClassByName(HprofClass cl)
           
 void createClass(long classObjectId, long classNameId, int serialId, int stackTraceId)
           
 long generateGenericId(boolean isLeaf)
           
 HprofClass getClass(long classObjectId)
           
 HprofClass getClass(java.lang.String className)
           
 java.util.Iterator<HprofClass> getClassItems()
           
 java.util.Map<java.lang.String,HprofClass> getClassMap()
           
 HprofClass getPrimitiveArrayClass(HprofParser.FieldType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LEAF_FLAG

public static final long LEAF_FLAG
See Also:
Constant Field Values
Method Detail

createClass

public void createClass(long classObjectId,
                        long classNameId,
                        int serialId,
                        int stackTraceId)

getClass

public HprofClass getClass(long classObjectId)

getClass

public HprofClass getClass(java.lang.String className)

addClassByName

public void addClassByName(HprofClass cl)

getPrimitiveArrayClass

public HprofClass getPrimitiveArrayClass(HprofParser.FieldType type)

getClassItems

public java.util.Iterator<HprofClass> getClassItems()

getClassMap

public java.util.Map<java.lang.String,HprofClass> getClassMap()

generateGenericId

public long generateGenericId(boolean isLeaf)