Bill Foote has announced this!. Heap Analysis Tool (HAT) is now historical -- so is the HAT java.net project. jhat that is included in Mustang replaces HAT.
Where is the jhat source?
- Download Mustang source
- Unjar it in a directory, say $MUSTANG
- Goto $MUSTANG/j2se/src/share/classes/com/sun/tools/hat directory.
This is where jhat sources files live!
I want to build/change/play just with jhat. What should I do?
There is a build.xml
under jhat source directory. You can fire ant command in the jhat source directory. This
will create a build directory under jhat source directory and create jhat.jar
You can run this jhat.jar just like any other executable jar file:
java -jar jhat.jar [<options for jhat>] <YourHeapDumpFile>
Happy hacking jhat!