Pregunta de entrevista de Atlassian

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