Pregunta de entrevista de Confluent

How would you debug Java performance issues?