Pergunta de entrevista da empresa Atlassian

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