uCosminexus Application Server, Definition Reference Guide
-XX:[+|-]HitachiThreadDump (Option to output the extended thread dump information)
Format
Description
Specify whether to output the extended thread dump information.
The thread dump is output as the standard output to the following files:
javacore process-number.YYMMDDhhmmss#.txt
The following table describes the configuration of thread dump information:
Table 16-3 Configuration of the thread dump information
| Output information | Contents |
|---|---|
| Header | Outputs the date and time when the thread dump is started, the JavaVM version information, and the start command line. |
| Explicit heap information | The usage status in the entire Explicit heap is output to the Explicit heap information. Regardless of whether the Explicit heap is used, the information will always output when -XX:+HitachiUseExplicitMemory is enabled. |
| Explicit memory block information | The following information is output with the Explicit memory block information. However, if the Explicit memory block does not exist, nothing is output.
|
| System settings | Outputs the following information:
|
| Operation environment | Outputs the following information:
|
| Memory information | Outputs the following information for Windows:
|
| Java heap information | Outputs the memory usage status of each Java heap generation. |
| Internal memory map information for JavaVM | Outputs the information of memory area secured by JavaVM. |
| Internal memory size information for JavaVM | Outputs the information of memory size secured by JavaVM. |
| Application information | Outputs the following information:
|
| Library information | Outputs the information about a loaded library. |
| Thread information Thread-1 : Thread-n |
Outputs the thread information for each thread. Outputs the stack traces of all the existing threads. |
| Java monitor dump# | Displays the list of Java monitor objects. You can check the exclusion wait status between threads. |
| JNI global reference information | Outputs the number of global references of JNI maintaining JavaVM. JNI global reference is created in the following cases:
|
| Footer | Outputs the date and time when the thread dump ends. |
Output format
EEE MMM dd hh:mm:ss yyyy# Full thread dump Java HotSpot(TM) Client VM (1.5.0_05-b05-CDK0850-build-date mixed mode) invoke-command-line ... |
Explicit Heap Status
--------------------
max EH_MAX, total EH_TOTAL, used EH_USED, garbage EH_GARB (EH_PER1 used/max, EH_PER2 \
used/total, EH_PER3 garbage/used), EM_NUMS spaces exist
Explicit Memories(EM_MGR_PTR)
"EM_NAME" eid=EID(EM_PTR)/EM_TYPE, total EM_TOTAL, used EM_USED, garbage EM_GARB \
(EM_PER1 used/total, EM_PER2 garbage/used, FL_BLOCKS blocks) EM_STAT
deployed objects
_______________Size__Instances__FreeRatio__Class______________
ISIZE INUM FRATIO CNAME
...
AISIZE AINUM total
...
|
Note the following:
System Properties ----------------- Java Home Dir : installation-directory-of-JDK-execution-environment Java DLL Dir : installation-directory-of-library-configuring-JDK Sys Classpath : system-class-path User Args : Java-command-option-1 Java-command-option-2 ... |
Operating Environment --------------------- Host : host-name:IP-address OS : OS-version CPU : CPU-type, number-of-available-CPUs/ number-of-CPUs-of-all-systems |
Operating Environment
---------------------
Host : host-name:IP-address
OS : OS-version
CPU : CPU-type, number-of-available-CPUs/ number-of-CPUs-of-all-systems
Resource Limits -
RLIMIT_CPU :number-of-seconds-available-for-the-process
RLIMIT_FSIZE :maximum-file-size-(-unit-:-byte-)
RLIMIT_DATA :mallocable-size-(-unit-:-byte-)
RLIMIT_STACK :maximum-stack-size-(-unit-:-byte-)
RLIMIT_CORE :maximum-core-size-(-unit-:-byte-)
RLIMIT_RSS :process-residence-size-(-unit-:-byte-)
RLIMIT_AS :available-memory-for-total-processes-(-unit-:-byte-)
RLIMIT_NOFILE :maximum-file-descriptor-value
|
Memory Status ------------- Memory in use : memory-usage-status-(-unit-:-percent-) Physical memory : physical-memory-usage# free Virtual memory : virtual-memory-usage# free Paging file : paging-usage# free |
Heap Status
-----------
def new generation max maximum-capacity, total current-capacity, used memory-in-use (rate-of-usage-to-maximum-capacity% used/max, rate-of-usage-to-current-capacity% used/total)
[first-address-of-the-area, last-address-of-the-committed-area, last-address-of-the-reserved-area)
eden space current-capacity, usage% used [first-address-of-the-area, first-address-of-the-area-in-use, last-address-of-the-reserved-area)
from space current-capacity, usage% used [first-address-of-the-area, first-address-of-the-area-in-use, last-address-of-the-reserved-area)
to space current-capacity, usage% used [first-address-of-the-area, first-address-of-the-area-in-use, last-address-of-the-reserved-area)
tenured generation max maximum-capacity, total current-capacity, used memory-in-use (rate-of-usage-to-maximum-capacity% used/max, rate-of-usage-to-current-capacity% used/total)
[first-address-of-the-area, last-address-of-the-committed-area, last-address-of-the-reserved-area)
the space current-capacity, usage% used [first-address-of-the-area, first-address-of-the-area-in-use, first-address-of-the-next-blank-block, last-address-of-the-reserved-area)
compacting perm gen max maximum-capacity, total current-capacity, used memory-in-use (rate-of-usage-to-maximum-capacity% used/max, rate-of-usage-to-current-capacity% used/total)
[first-address-of-the-area, last-address-of-the-committed-area, last-address-of-the-reserved-area)
the space current-capacity, usage% used [first-address-of-the-area, first-address-of-the-area-in-use, first-address-of-the-next-blank-block, last-address-of-the-reserved-area)
|
JVM Internal Memory Map ----------------------- memory-secure-function:address = start-address - end-address (size:size) |
JVM Internal Memory Status -------------------------- Heap Size :secured-memory-size# Alloc Size :used-memory-size# Free Size :free-memory-size# |
Application Environment ----------------------- Signal Handlers - SIGINT :signal-handler-information SIGILL :signal-handler-information ... SIGBREAK :signal-handler-information SIGABRT :signal-handler-information Environment Variables - environment-variable=value ... Cueeent Directory -C:\Program Files\Hitachi\Cosminexus\CC\... |
Application Environment ----------------------- Signal Handlers -#1 SIGHUP :signal-handler-information SIGINT :signal-handler-information ... SIGSOUND :signal-handler-information SIGSAK :signal-handler-information Signal Handlers - signal-type: [signal-handler-address], sa_mask[0]= signal-mask, sa_flags= specific-flag ... Environment Variables -#2 environment-variable=value ... Current Directory - /opt/Cosminexus/CC/server/... |
Loaded Libraries ---------------- Dynamic libraries : start-address-end-address command start-address-end-address library ... |
Loaded Libraries
----------------
command
text :start-address-end-address (size)
data :start-address-end-address (size)
library
text :start-address-end-address (size)
data :start-address-end-address (size)
...
|
----------- "thread-name" daemon prio= priority jid=hash-value tid= thread-ID nid= nativeID status [start-address...end-address] java.lang.Thread.State: current-status-of-thread# stack=[stack-start-address..YellowPage-address..RedPage-address..stack-end-address] [user cpu time=user-time ms, kernel cpu time=kernel-time ms] [blocked count=block-count, waited count=standby-count] at class-name.method-name(method-information) ... |
Java monitor ------------ lock-object@hash-code owner-information standby-state:standby-thread-number standby-thread-information |
JNI Information --------------- JNI global references: JNI-global-reference-count |
Full thread dump completed. EEE MMM dd hh:mm:ss yyyy# |
The following table describes the comparison of the extended thread dump information:
Table 16-4 Comparison between the output information of the standard thread dump and the extended thread dump
| Output information | Standard thread dump | Extended thread dump |
|---|---|---|
| Header | N | Y |
| System settings | N | Y |
| Operation environment | N | Y |
| Memory information (in Windows only) | N | Y |
| Java heap information | N | Y |
| Internal memory map information for JavaVM | N | Y |
| Internal memory size information for JavaVM | N | Y |
| Application environment | N | Y |
| Library information | N | Y |
| Thread information | Y | Y#1 |
| Java monitor dump | N | Y |
| Footer | N | Y |
| Thread dump output destination | Standard output | Standard output#2 JavaVM log file |
Precautions
| Option name | Information not to be output |
|---|---|
| -XX:[+|-]HitachiThreadDumpWithHashCode | hash-value |
| -XX:[+|-]HitachiThreadDumpWithCpuTime | user-time, kernel-time |
| -XX:[+|-]HitachiThreadDumpWithBlockCount | block-count, standby-count |
All Rights Reserved. Copyright (C) 2012, 2015, Hitachi, Ltd.