If no infinite loop is occurring, look at the process that is working, but having bad performance.
In this case, change your focus from what individual threads are doing to what the process as a whole is doing. This is described in the AIX® documentation.
See Debugging performance problems for more information about performance on AIX.