com.caucho.env.hprof
Class ClassPassDumpHandler

java.lang.Object
  extended by com.caucho.env.hprof.AbstractHprofDumpHandler
      extended by com.caucho.env.hprof.ClassPassDumpHandler
All Implemented Interfaces:
HprofDumpHandler

public class ClassPassDumpHandler
extends AbstractHprofDumpHandler

Parses the JDK's .hprof file.


Constructor Summary
ClassPassDumpHandler()
           
 
Method Summary
 void classDump(long classObjectId, long superClassObjectId, long classLoaderId, int instanceSize, int stackId, long signerObjectId, long protectionDomainId)
           
 void classInstanceField(long classObjectId, long fieldNameId, HprofParser.FieldType fieldType)
           
 HprofClassManager getClassManager()
           
 LongKeyHashMap<StringHolder> getStringHolderMap()
           
 void loadClass(long classObjectId, long classNameId, int serialId, int stackTraceId)
           
 void parse(Path path)
           
 
Methods inherited from class com.caucho.env.hprof.AbstractHprofDumpHandler
classStaticField, instanceDump, objectArrayDump, primitiveArrayDump, readString, rootJavaFrame, rootJniGlobal, rootJniLocal, rootMonitorUsed, rootStickyClass, rootThreadBlock, rootThreadObject, rootUnknown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassPassDumpHandler

public ClassPassDumpHandler()
Method Detail

parse

public void parse(Path path)
           throws java.io.IOException
Throws:
java.io.IOException

getClassManager

public HprofClassManager getClassManager()

getStringHolderMap

public LongKeyHashMap<StringHolder> getStringHolderMap()

loadClass

public void loadClass(long classObjectId,
                      long classNameId,
                      int serialId,
                      int stackTraceId)
Specified by:
loadClass in interface HprofDumpHandler
Overrides:
loadClass in class AbstractHprofDumpHandler

classDump

public void classDump(long classObjectId,
                      long superClassObjectId,
                      long classLoaderId,
                      int instanceSize,
                      int stackId,
                      long signerObjectId,
                      long protectionDomainId)
               throws java.io.IOException
Specified by:
classDump in interface HprofDumpHandler
Overrides:
classDump in class AbstractHprofDumpHandler
Throws:
java.io.IOException

classInstanceField

public void classInstanceField(long classObjectId,
                               long fieldNameId,
                               HprofParser.FieldType fieldType)
Specified by:
classInstanceField in interface HprofDumpHandler
Overrides:
classInstanceField in class AbstractHprofDumpHandler