Hitachi

uCosminexus Application Server Definition Reference Guide


-XX:[+|-]HitachiJavaClassLibTrace (Option to output the stack trace of class library)

Organization of this page

Format

-XX:+HitachiJavaClassLibTrace

This option outputs the stack trace of the class library.

-XX:-HitachiJavaClassLibTrace

This option does not output the stack trace of the class library.

Description

When a method that affects the entire system shown below is used, the stack traces of the API of these systems will be output to the JavaVM log file:

Default value
  • -XX:-HitachiJavaClassLibTrace

Output format

[id] [Thread:thread_id]<date>
[id] [Thread:thread_id] stack_trace

The following is a description of the output contents:

id

CLT (Identifier of the Java VM log file).

thread_id

Thread ID (tid output to the thread dump).

date

Indicates the date and time when class library was used.

stack_trace

Stack trace.

Example of output 1

[CLT][Thread: 0x00062fd0]<Mon Sep 27 12:10:03 2004>
[CLT][Thread: 0x00062fd0] at at java.lang.Shutdown.halt0(Native Method)
[CLT][Thread: 0x00062fd0] at java.lang.Shutdown.halt(Shutdown.java:145)
[CLT][Thread: 0x00062fd0] - locked <0x100101a0> (a java.lang.Shutdown$Lock)
[CLT][Thread: 0x00062fd0] at java.lang.Shutdown.exit(Shutdown.java:222)
[CLT][Thread: 0x00062fd0] - locked <0x1413c0a0> (a java.lang.Class)
[CLT][Thread: 0x00062fd0] at java.lang.Terminator$1.handle(Terminator.java:35)
[CLT][Thread: 0x00062fd0] at sun.misc.Signal$1.run(Signal.java:195)
[CLT][Thread: 0x00062fd0] at java.lang.Thread.run(Thread.java:534)

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)