Skip to content
Sharp

JVM Architecture · interview question

Which JVM diagnostic tool provides thread dump information?

Multiple choiceMediumchapter-14-curatedpremiumjvm-architectureclass-loading
Choose one answer
Answer and explanation

Correct answer

B. Jstack

Why

The jstack tool is used to produce thread dumps, which show the current state of all threads in a Java process. This is useful for diagnosing deadlocks and performance issues.

Test yourself on JVM Architecture

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

Start free test
All JVM Architecture questions →