Atlassian Interview Question

How would you troubleshoot a hang issue in a Java application?