IBM Support

How to map threads from tprof data to javacores

Technote (troubleshooting)


Once threads of interest have been identified using tprof data, they can be mapped to javacores from the same time to determine what was causing the CPU usage. The following details how to complete that mapping process for different versions of WebSphere Application Server.

Resolving the problem

Threads of interest should first be identified using the following TechNote:
How to interpret tprof data for WebSphere Application Server on AIX

Once the threads of interest have been identified, the mapping process is quite simple:

The Thread ID (TID) found in the tprof data is a decimal number. This TID can be mapped to the native ID found in the javacore by simply converting the decimal number to hexadecimal.

For example, from the tprof data a TID 958881 was identified as a thread of interest. Converting this decimal number to hexadecimal, a native ID value of EA1A1 is found. Searching the javacore for this native ID value yields the following:

"Gc Slave Thread" (TID:0x1155D0200, ... native ID:0x0000EA1A1)

This indicates that the thread of interest with a tprof TID of 958881 and a javacore native ID of EA1A1 is entitled "Gc Slave Thread".

Cross reference information
Segment Product Component Platform Version Edition
Application Servers Runtimes for Java Technology Java SDK

Document information

More support for: WebSphere Application Server

Software version: 6.1, 7.0, 8.0, 8.5, 9.0

Operating system(s): AIX

Software edition: Base, Express, Network Deployment

Reference #: 1138359

Modified date: 11 April 2013

Translate this page: