jdk/test/sun/tools/jhat/README.TXT
author ihse
Mon, 09 Mar 2015 10:39:16 +0100
changeset 29304 81a723f8d33c
parent 2 90ce3da70b43
permissions -rw-r--r--
8074096: Disable (most) native warnings in JDK on a per-library basis Reviewed-by: erikj, tbell
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.