IBM Support

How to map threads from tprof data to javacores

Troubleshooting


Problem

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 Helper 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 HelperThread".

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"}],"Version":"9.0;8.5;8.0;7.0;6.1","Edition":"Base;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
02 August 2021

UID

swg21138359