If a profiler is not applicable in your setup, you may try to identify the thread following steps in this post.
Basically, there are three steps:
- run
top -H
and get PID of the thread with highest CPU. - convert the PID to hex.
- look for thread with the matching HEX PID in your thread dump.