Goodbye HAT, welcome jhat!

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 (ant makefile) 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 in it. You can run this jhat.jar just like any other executable jar file:

   java -jar jhat.jar  [<options for jhat>] <YourHeapDumpFile>

Happy hacking jhat!
Comments:

HAT's off to A. Sundararajan, Kelly O'Hair and Alan Bateman!

Posted by Bill Foote on October 14, 2005 at 05:11 PM IST #

Post a Comment:
Comments are closed for this entry.
About

sundararajan

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks
Links

No bookmarks in folder

Blogroll

No bookmarks in folder

News

No bookmarks in folder