jvm.hprof.txt 4.6 KB

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