-XX:[+|-]HitachiTrueTypeInLocals (Option to output the true type name of the local variable information)
- Organization of this page
Format
- -XX:+HitachiTrueTypeInLocals
-
This option outputs the actual object type name in the local variable information.
- -XX:-HitachiTrueTypeInLocals
-
This option does not output the actual object type name in the local variable information.
Description
When collecting the local variable information, the object type name that is actually substituted is output for the local variable of the class or the array type. The type name is displayed in the round bracket after the character string that represents the variable value.
Note that if the class or array type object stored in the local variable is a JavaVM internal object, "internal type" is output.
- Default value
-
-
-XX:-HitachiTrueTypeInLocals
-
- Prerequisite options
-
-
-XX:+HitachiLocalsInThrowable
-
-XX:+HitachiLocalsInStackTrace
-
Examples of output
The following is an example of output using Java program example 3:
-
When the -XX:+HitachiLocalsSimpleFormat option and -XX:HitachiCallToString=full are specified:
at Example3.method(Example3.java:18) locals: (Example3) this = <0xaa07db58> "I am an Example3 instance." (Example3) (java.lang.String) l1 = <0xae173a28> "local 1" (java.lang.String) (java.lang.StringBuffer) l2 = <0xaa07dca0> "local 1 + local 2" (java.lang.StringBuffer) (java.lang.Boolean) l3 = <0xaa07de18> "false" (java.lang.Boolean) (java.lang.Character) l4 = <0xaa07df68> "X" (java.lang.Character) (java.lang.Long) l5 = <0xaa07e078> "-9223372036854775808" (java.lang.Long) (java.lang.Object) l6 = <0xaa07e1a8> "Thread[Thread-0,5,main]" (java.lang.Thread) (java.lang.Object[]) l7 = <0xaa07e298> "[Ljava.lang.Thread;@26e431" (java.lang.Thread[]) at Example3.main(Example3.java:4) locals: ...