jvm.hprof.txt 4.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. # ========================================================================
  2. # Licensed Materials - Property of IBM
  3. # "Restricted Materials of IBM"
  4. #
  5. # IBM SDK, Java(tm) Technology Edition, v8
  6. # (C) Copyright IBM Corp. 2000, 2014. All Rights Reserved
  7. #
  8. # US Government Users Restricted Rights - Use, duplication or disclosure
  9. # restricted by GSA ADP Schedule Contract with IBM Corp.
  10. # ========================================================================
  11. Redistribution and use in source and binary forms, with or without
  12. modification, are permitted provided that the following conditions
  13. are met:
  14. - Redistributions of source code must retain the above copyright
  15. notice, this list of conditions and the following disclaimer.
  16. - Redistributions in binary form must reproduce the above copyright
  17. notice, this list of conditions and the following disclaimer in the
  18. documentation and/or other materials provided with the distribution.
  19. - Neither the name of Oracle nor the names of its
  20. contributors may be used to endorse or promote products derived
  21. from this software without specific prior written permission.
  22. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  23. IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  24. THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  25. PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  26. CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  27. EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  28. PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  29. PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
  30. LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  31. NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  32. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  33. Header for -agentlib:hprof (or -Xrunhprof) ASCII Output (JDK 5.0 JVMTI based)
  34. WARNING! This file format is under development, and is subject to
  35. change without notice.
  36. This file contains the following types of records:
  37. THREAD START
  38. THREAD END mark the lifetime of Java threads
  39. TRACE represents a Java stack trace. Each trace consists
  40. of a series of stack frames. Other records refer to
  41. TRACEs to identify (1) where object allocations have
  42. taken place, (2) the frames in which GC roots were
  43. found, and (3) frequently executed methods.
  44. HEAP DUMP is a complete snapshot of all live objects in the Java
  45. heap. Following distinctions are made:
  46. ROOT root set as determined by GC
  47. CLS classes
  48. OBJ instances
  49. ARR arrays
  50. SITES is a sorted list of allocation sites. This identifies
  51. the most heavily allocated object types, and the TRACE
  52. at which those allocations occurred.
  53. CPU SAMPLES is a statistical profile of program execution. The VM
  54. periodically samples all running threads, and assigns
  55. a quantum to active TRACEs in those threads. Entries
  56. in this record are TRACEs ranked by the percentage of
  57. total quanta they consumed; top-ranked TRACEs are
  58. typically hot spots in the program.
  59. CPU TIME is a profile of program execution obtained by measuring
  60. the time spent in individual methods (excluding the time
  61. spent in callees), as well as by counting the number of
  62. times each method is called. Entries in this record are
  63. TRACEs ranked by the percentage of total CPU time. The
  64. "count" field indicates the number of times each TRACE
  65. is invoked.
  66. MONITOR TIME is a profile of monitor contention obtained by measuring
  67. the time spent by a thread waiting to enter a monitor.
  68. Entries in this record are TRACEs ranked by the percentage
  69. of total monitor contention time and a brief description
  70. of the monitor. The "count" field indicates the number of
  71. times the monitor was contended at that TRACE.
  72. MONITOR DUMP is a complete snapshot of all the monitors and threads in
  73. the System.
  74. HEAP DUMP, SITES, CPU SAMPLES|TIME and MONITOR DUMP|TIME records are generated
  75. at program exit. They can also be obtained during program execution by typing
  76. Ctrl-\ (on Solaris) or by typing Ctrl-Break (on Win32).