jdk/test/sun/tools/jhat/README.TXT
author duke
Wed, 05 Jul 2017 17:14:19 +0200
changeset 5570 bfed772dd989
parent 2 90ce3da70b43
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
jhat heap dump parsing tests:
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
There are three hprof binary format dump files in this directory.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
These dumps were created by jmap and hprof profiler against a
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
simple infinite looping Java program.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
1. minimal.bin - minimal dump that has nothing! - not even java.lang.Class!
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
  - This was created by java -Xrunhprof:format=b,heap=sites MainClass. 
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
2. jmap.bin - created by jmap -dump option
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
3. hprof.bin - created by java -Xrunhprof:heap=all,format=b MainClass
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
We can run jhat -parseonly true <dump-file> against these dumps.