com.caucho.env.hprof
Interface HprofDumpHandler

All Known Implementing Classes:
AbstractHprofDumpHandler, ClassPassDumpHandler, DataPassDumpHandler, NamePassDumpHandler

public interface HprofDumpHandler

Parses the JDK's .hprof file.


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)
           
 void classStaticField(long classObjectId, long fieldNameId, long fieldValueId)
           
 void instanceDump(long objectId, int stackId, long classObjectId, int sublen, HprofParser parser)
           
 void loadClass(long objectId, long classNameId, int serialId, int stackTraceId)
           
 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 hprofParser)
           
 void readString(long stringId, int length, HprofParser hprofParser)
           
 void rootJavaFrame(long objectId, int threadId, int frameId)
           
 void rootJniGlobal(long objectId, long jniGlobalId)
           
 void rootJniLocal(long objectId, int threadId, int stackId)
           
 void rootMonitorUsed(long objectId)
           
 void rootStickyClass(long objectId)
           
 void rootThreadBlock(long objectId, int threadId)
           
 void rootThreadObject(long objectId, int threadId, int stackId)
           
 void rootUnknown(long objectId)
           
 

Method Detail

loadClass

void loadClass(long objectId,
               long classNameId,
               int serialId,
               int stackTraceId)

rootUnknown

void rootUnknown(long objectId)

rootJniGlobal

void rootJniGlobal(long objectId,
                   long jniGlobalId)

rootJniLocal

void rootJniLocal(long objectId,
                  int threadId,
                  int stackId)

rootJavaFrame

void rootJavaFrame(long objectId,
                   int threadId,
                   int frameId)

rootStickyClass

void rootStickyClass(long objectId)

rootThreadBlock

void rootThreadBlock(long objectId,
                     int threadId)

rootMonitorUsed

void rootMonitorUsed(long objectId)

rootThreadObject

void rootThreadObject(long objectId,
                      int threadId,
                      int stackId)

instanceDump

void instanceDump(long objectId,
                  int stackId,
                  long classObjectId,
                  int sublen,
                  HprofParser parser)
                  throws java.io.IOException
Throws:
java.io.IOException

objectArrayDump

void objectArrayDump(long arrayClassId,
                     long objectId,
                     int stackId,
                     int nElements,
                     HprofParser hprofParser)
                     throws java.io.IOException
Throws:
java.io.IOException

primitiveArrayDump

void primitiveArrayDump(long objectId,
                        int stackId,
                        int nElements,
                        HprofParser.FieldType elementType,
                        int size,
                        HprofParser hprofParser)
                        throws java.io.IOException
Throws:
java.io.IOException

classDump

void classDump(long classObjectId,
               long superClassObjectId,
               long classLoaderId,
               int instanceSize,
               int stackId,
               long signerObjectId,
               long protectionDomainId)
               throws java.io.IOException
Throws:
java.io.IOException

classStaticField

void classStaticField(long classObjectId,
                      long fieldNameId,
                      long fieldValueId)

classInstanceField

void classInstanceField(long classObjectId,
                        long fieldNameId,
                        HprofParser.FieldType fieldType)

readString

void readString(long stringId,
                int length,
                HprofParser hprofParser)
                throws java.io.IOException
Throws:
java.io.IOException