Skip to content
Sharp

Performance Tuning · interview question

Why does a Thread Dump in Java matter in practice?

Multiple choiceEasychapter-14-curatedpremiumperformance-tuningoutofmemoryerrors
Choose one answer
Answer and explanation

Correct answer

C. To capture the state of all threads in the JVM.

Why

A Thread Dump captures the state of all threads in the JVM at a particular point in time. This is useful for diagnosing deadlocks, thread contention, and other concurrency issues.

Test yourself on Performance Tuning

A free test with instant, explained results. No account needed.

Start free test
All Performance Tuning questions →