Skip to content
Sharp

Performance Tuning · interview question

How does a Stop-The-World (STW) pause affect a running Java application?

Multiple choiceMediumchapter-14-curatedpremiumperformance-tuningthread-dumps
Choose one answer
Answer and explanation

Correct answer

C. All application threads are paused

Why

During a Stop-The-World (STW) pause, all application threads are paused to allow the JVM to perform tasks like garbage collection. This can lead to temporary unresponsiveness in the application.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →