HPROF Enhancement

org.eclipse.mat.hprof.enhancer

0.7.0

This extension point can be used to provide more details about the heap dump which are not contained in the HPROF format itself. For example, SAP has extended the Hotspot-based SAPJVM to write perm space information, OoM stack traces, interfaces and object generations whenever a HPROF dump is written.

<!ELEMENT extension (enhancer)+>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT enhancer EMPTY>

<!ATTLIST enhancer

parser  CDATA #REQUIRED

runtime CDATA #REQUIRED>


Following is an example of a Hprof enhancer declaration:

   

<extension point=

"org.eclipse.mat.hprof.enhancer"

>

<enhancer parser=

"com.acme.HprofExtraParser"

runtime=

"com.acme.HprofExtraRuntime"

/>

</extension>

The value of the parser attribute must represent an implementor of org.eclipse.mat.hprof.extension.IParsingEnhancer. The value of the runtime attribute must represent an implementor of org.eclipse.mat.hprof.extension.IRuntimeEnhancer.