2362N/ACopyright (c) 2003, 2005, Oracle and/or its affiliates. All rights reserved.
0N/A
0N/ARedistribution and use in source and binary forms, with or without
0N/Amodification, are permitted provided that the following conditions
0N/Aare met:
0N/A
0N/A - Redistributions of source code must retain the above copyright
0N/A notice, this list of conditions and the following disclaimer.
0N/A
0N/A - Redistributions in binary form must reproduce the above copyright
0N/A notice, this list of conditions and the following disclaimer in the
0N/A documentation and/or other materials provided with the distribution.
0N/A
2362N/A - Neither the name of Oracle nor the names of its
0N/A contributors may be used to endorse or promote products derived
0N/A from this software without specific prior written permission.
0N/A
0N/ATHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
0N/AIS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
0N/ATHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
0N/APURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
0N/ACONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
0N/AEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
0N/APROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
0N/APROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
0N/ALIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
0N/ANEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
0N/ASOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0N/A
0N/A
0N/AHeader for -agentlib:hprof (or -Xrunhprof) ASCII Output (JDK 5.0 JVMTI based)
0N/A
0N/AWARNING! This file format is under development, and is subject to
0N/Achange without notice.
0N/A
0N/AThis file contains the following types of records:
0N/A
0N/ATHREAD START
0N/ATHREAD END mark the lifetime of Java threads
0N/A
0N/ATRACE represents a Java stack trace. Each trace consists
0N/A of a series of stack frames. Other records refer to
0N/A TRACEs to identify (1) where object allocations have
0N/A taken place, (2) the frames in which GC roots were
0N/A found, and (3) frequently executed methods.
0N/A
0N/AHEAP DUMP is a complete snapshot of all live objects in the Java
0N/A heap. Following distinctions are made:
0N/A
0N/A ROOT root set as determined by GC
0N/A CLS classes
0N/A OBJ instances
0N/A ARR arrays
0N/A
0N/ASITES is a sorted list of allocation sites. This identifies
0N/A the most heavily allocated object types, and the TRACE
0N/A at which those allocations occurred.
0N/A
0N/ACPU SAMPLES is a statistical profile of program execution. The VM
0N/A periodically samples all running threads, and assigns
0N/A a quantum to active TRACEs in those threads. Entries
0N/A in this record are TRACEs ranked by the percentage of
0N/A total quanta they consumed; top-ranked TRACEs are
0N/A typically hot spots in the program.
0N/A
0N/ACPU TIME is a profile of program execution obtained by measuring
0N/A the time spent in individual methods (excluding the time
0N/A spent in callees), as well as by counting the number of
0N/A times each method is called. Entries in this record are
0N/A TRACEs ranked by the percentage of total CPU time. The
0N/A "count" field indicates the number of times each TRACE
0N/A is invoked.
0N/A
0N/AMONITOR TIME is a profile of monitor contention obtained by measuring
0N/A the time spent by a thread waiting to enter a monitor.
0N/A Entries in this record are TRACEs ranked by the percentage
0N/A of total monitor contention time and a brief description
0N/A of the monitor. The "count" field indicates the number of
0N/A times the monitor was contended at that TRACE.
0N/A
0N/AMONITOR DUMP is a complete snapshot of all the monitors and threads in
0N/A the System.
0N/A
0N/AHEAP DUMP, SITES, CPU SAMPLES|TIME and MONITOR DUMP|TIME records are generated
0N/Aat program exit. They can also be obtained during program execution by typing
0N/ACtrl-\ (on Solaris) or by typing Ctrl-Break (on Win32).