equal
deleted
inserted
replaced
1 -------------- |
|
2 This HAT source originally came from the http://hat.dev.java.net site. |
|
3 |
|
4 The utility has been named 'jhat' in the JDK, it is basically the same tool. |
|
5 |
|
6 Q: Where do I make changes? In the JDK or hat.dev.java.net? |
|
7 |
|
8 A: It depends on whether the change is intended for the JDK jhat version only, |
|
9 or expected to be given back to the java.net project. |
|
10 In general, we should putback changes to the java.net project and |
|
11 bringover those changes to the JDK. |
|
12 |
|
13 Q: I want to build just jhat.jar instead of building entire JDK. What should I do? |
|
14 |
|
15 A: Use ant makefile (build.xml) in the current directory. This builds just the |
|
16 jhat sources and creates jhat.jar under ./build directory. |
|
17 |
|
18 To run the built jhat.jar, you can use the command: |
|
19 |
|
20 java -jar build/jhat.jar heap_dump |
|