7.9.1 -XX:[+|-]HitachiJavaClassLibTrace
-XX:[+|-]HitachiJavaClassLibTrace outputs the stack trace for the class library.
Description
-XX:[+|-]HitachiJavaClassLibTrace outputs the stack trace for the API to the Java VM log file when one of the following method that affects the entire system is used:
-
java.lang.System.gc
-
java.lang.System.exit
-
java.lang.System.runFinalizersOnExit
-
java.lang.Runtime.exit
-
java.lang.Runtime.halt
-
java.lang.Runtime.runFinalizersOnExit
- Format of output
-
[id] [Thread:thread_id]<date> [id] [Thread:thread_id] stack_trace
Output item
Output content
id
CLT (Java VM log file identifier)
thread_id
Thread ID (the tid that is output to the thread dump)
date
Date and time the class library is used
stack_trace
Stack trace
Syntax
-XX:[+|-]HitachiJavaClassLibTrace
Specifiable values
Type: String
- -XX:+HitachiJavaClassLibTrace
-
Outputs the stack trace for the class library.
- -XX:-HitachiJavaClassLibTrace
-
Does not output the stack trace for the class library.
Examples
- Example of output 1
-
[CLT][Thread: 0x00286348]<Thu Oct 21 14:55:50 2004> [CLT][Thread: 0x00286348] at java.lang.Shutdown.halt0(Native Method) [CLT][Thread: 0x00286348] at java.lang.Shutdown.halt(Shutdown.java:145) [CLT][Thread: 0x00286348] at java.lang.Shutdown.exit(Shutdown.java:222) [CLT][Thread: 0x00286348] at java.lang.Runtime.exit(Runtime.java:90) [CLT][Thread: 0x00286348] at java.lang.System.exit(System.java:715) [CLT][Thread: 0x00286348] at J250048_02.main(J250048_02.java:4)
- Example of output 2
-
[CLT][Thread: 0x009c4000]<Tue Oct 09 15:36:18 2012> [CLT][Thread: 0x009c4000] at java.lang.Runtime.outputJavaClassLibTrace (Native Method) [CLT][Thread: 0x009c4000] at java.lang.Runtime.runFinalizersOnExit (Runtime.java:378) [CLT][Thread: 0x009c4000] at java.lang.System.runFinalizersOnExit (System.java:978) [CLT][Thread: 0x009c4000] at Program.main(Program.java:8)