NonStop Server for Java 4.2 Programmer's Reference
HPROF Output File
Three HPROF examples appear below: CPU samples, CPU times, and a heap for the sites profile. For details
about using HPROF output and interpreting these examples, search for HPROF on the Web. Also, see the paper
Diagnose common runtime problems with hprof
(http://www.javaworld.com/javaworld/jw-12-2001/jw-1207-hprof.html).
Example 1: cpu=samples
TRACE 62:
WorkClass.doSomeWork(WorkClass.java:12)
TestClass.getNew(TestClass.java:16)
...........
CPU SAMPLES BEGIN (total = 331) Wed Dec 19 17:48:51 2001
rank self accum count trace method
1 5.14% 5.14% 17 29 java/util/Random.next
2 4.83% 9.97% 16 62 WorkClass.doSomeWork
3 4.23% 14.20% 14 30 java/util/Random.next
...........
CPU SAMPLES END
Example 2: cpu=times
CPU TIME (ms) BEGIN (total = 2801506) Mon Jan 7 10:41:41 2002
rank self accum count trace method
1 6.89% 6.89% 22920 6668 WorkClass.doSomeThing
2 3.14% 10.03% 2638848 10198 java/util/HashMap.access$2
3 1.70% 11.74% 2639051 16945 java/lang/String.equals
........
CPU TIMES END
Example 3 (heap=sites)
SITES BEGIN (ordered by live bytes) Wed DEC 19 11:26:18 2001
percent live alloc'ed stack class
rank self accum bytes objs bytes objs trace name
1 34.27% 34.27% 195984 4188 588528 24522 595 MyClass
2 24.22% 58.49% 94044 8246 868728 63412 1 [C
.........
SITES END
NonStop Server for Java 4 Implementation-Specific
Options
NonStop Server for Java 4 enhances the set of options that you can specify only in the OSS environment for the