Question & Answer
Question
Cause
Answer
[1/21/20 13:54:28:281 PST] 00000067 SystemOut O Thread.getId()=0x67
The 8 characters following the timestamp represent a hexadecimal representation of Thread.getId on which the message was produced.
This getId identifier does not match the operating system native thread ID; however, this mapping may be made with thread dumps:
An IBM Java or OpenJ9 thread dump (a.k.a. javacore/javadump) shows the result of Thread.getId for each thread. In the following example, "java/lang/Thread getId:0x67" shows the result of getID which will match the WAS log and then "native thread ID:0x106E" is the OS native thread ID:
3XMTHREADINFO "WebContainer : 7" J9VMThread:0x0000000004C82700, omrthread_t:0x0000153A040C9248, java/lang/Thread:0x00000000F3FBB0D8, state:R, prio=5
3XMJAVALTHREAD (java/lang/Thread getId:0x67, isDaemon:true)
3XMTHREADINFO1 (native thread ID:0x106E, native priority:0x5, native policy:UNKNOWN, vmstate:R, vm thread flags:0x00001020)
3XMTHREADINFO2 (native stack address range from:0x0000153A35066000, to:0x0000153A350A6000, size:0x40000)
3XMCPUTIME CPU usage total: 40.736697503 secs, current category="Application"
3XMHEAPALLOC Heap bytes allocated since last GC cycle=0 (0x0)
3XMTHREADINFO3 Java callstack:
4XESTACKTRACE at com/ibm/AllocateObject.doWork(AllocateObject.java:47(Compiled Code))
"Default Executor-thread-24" #72 daemon prio=5 os_prio=31 cpu=30.77ms elapsed=54.58s tid=0x00007fb072573000 nid=0x12303 waiting on condition [0x000070000b330000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep([email protected]/Native Method)
at com.ibm.Sleep.doSleep(Sleep.java:35)
at com.ibm.Sleep.doWork(Sleep.java:18)
For an IBM Java and OpenJ9 system dump (a.k.a. OS core dump), the IBM Extensions for Memory Analyzer plugins provide a "WAS Thread ID" column in Open Query Browser } Java Basics } Thread Overview.
Was this topic helpful?
Document Information
Modified date:
26 August 2020
UID
swg21418557