uCosminexus Application Server, Definition Reference Guide
-XX:[+|-]HitachiLocalsInStackTrace (Option to output the local variable when the thread dump is output)
Format
Description
Add the local variable information of each method and output to the stack trace when the thread dump was output. For details on output content of the local variable information, see -XX:[+|-] HitachiLocalsInThrowable (Option for collecting the local variable information when an exception occurs).
Examples of output
The following is an example of output using Java program example 2:
"main" prio=1 tid=0xb6e88d20 nid=0xb7492080 runnable [bfffb000..bfffb474]
at Example2.method(Example2.java:15)
- locked <0xab040550> (a Example2)
locals:
(Example2) this = <0xab040550> (Example2)
(int) l1 = 1
(float) l2 = 2.000000
(java.lang.String) l3 = <0xaf112cc0> (java.lang.String)
(java.lang.Character) l4 = <0xab040698> (java.lang.Character)
(java.lang.Object) l5 = <0xab0407c8> (java.lang.Thread)
(java.lang.Object[]) l6 = <0xab0408b8> (java.lang.Thread[])
at Example2.main(Example2.java:4)
locals:
(java.lang.String[]) args [arg1] = <0xab040540> (java.lang.String[])
(Example2) e2 = <0xab040550> (Example2)
|
Precautions
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.