Does anyone know a reference for the .hprof (binary heap dumps) file format?
Does anyone know libraries that handle .hprof files? I know that hat does that and also VisualVM through a NetBeans plugin. But are there others?
Hi as long as there is no more hprof agent with it doc we can only use code as a format specification.
So here is few links.
first of all here is old doc for hprof agent, it could be redundant but stil http://hg.openjdk.java.net/jdk6/jdk6/jdk/raw-file/tip/src/share/demo/jvmti/hprof/manual.html you can find hprof specification section in it.
Next, here is heap dumper and hprof spec from jvm code link to openjdk repo
https://hg.openjdk.java.net/jdk/jdk/file/9a73a4e4011f/src/hotspot/share/services/heapDumper.cpp
link to github mirror
You could try the SAP Memory Analyzer.