Using Thread Dumps one can provide analysis of hangs, deadlocks, and resource contention or monitor bottleneck
Pls refer to the ink below to start with.
http://www-01.ibm.com/support/docview.wss?uid=swg27011855&aid=1
If you are having performance issues, I would recommend using IBM WAIT --> https://wait.ibm.com/
This tool identifies the bottlenecked resources, and shows the code that drives this load. It works on any Java application, including distributed workloads with a central Java component. There is no complex system of agents. The output is an HTML report that you can easily archive and share.