com.caucho.env.hprof
Class DataPassDumpHandler

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

public class DataPassDumpHandler
extends NamePassDumpHandler

Parses the JDK's .hprof file.


Constructor Summary
DataPassDumpHandler(HprofClassManager classManager, LongKeyHashMap<StringHolder> stringHolderMap, HprofInstanceManager instanceManager)
           
 
Method Summary
 void instanceDump(long objectId, int stackId, long classObjectId, int sublen, HprofParser parser)
           
 void objectArrayDump(long arrayClassId, long objectId, int stackId, int nElements, HprofParser hprofParser)
           
 void primitiveArrayDump(long objectId, int stackId, int nElements, HprofParser.FieldType elementType, int size, HprofParser parser)
           
 
Methods inherited from class com.caucho.env.hprof.NamePassDumpHandler
classDump, classInstanceField, getClassManager, loadClass, parse, parseTag, readString
 
Methods inherited from class com.caucho.env.hprof.AbstractHprofDumpHandler
classStaticField, 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

DataPassDumpHandler

public DataPassDumpHandler(HprofClassManager classManager,
                           LongKeyHashMap<StringHolder> stringHolderMap,
                           HprofInstanceManager instanceManager)
Method Detail

instanceDump

public void instanceDump(long objectId,
                         int stackId,
                         long classObjectId,
                         int sublen,
                         HprofParser parser)
                  throws java.io.IOException
Specified by:
instanceDump in interface HprofDumpHandler
Overrides:
instanceDump in class AbstractHprofDumpHandler
Throws:
java.io.IOException

objectArrayDump

public void objectArrayDump(long arrayClassId,
                            long objectId,
                            int stackId,
                            int nElements,
                            HprofParser hprofParser)
                     throws java.io.IOException
Specified by:
objectArrayDump in interface HprofDumpHandler
Overrides:
objectArrayDump in class AbstractHprofDumpHandler
Throws:
java.io.IOException

primitiveArrayDump

public void primitiveArrayDump(long objectId,
                               int stackId,
                               int nElements,
                               HprofParser.FieldType elementType,
                               int size,
                               HprofParser parser)
                        throws java.io.IOException
Specified by:
primitiveArrayDump in interface HprofDumpHandler
Overrides:
primitiveArrayDump in class AbstractHprofDumpHandler
Throws:
java.io.IOException