Skip to content
Sharp

JVM Architecture · interview question

During a stop-the-world pause in garbage collection, what happens to the application threads?

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

Correct answer

D. They are paused so the garbage collector can safely reclaim memory.

Why

During a stop-the-world pause, all application threads are paused to allow the garbage collector to safely perform memory reclamation without interference from running threads.

Test yourself on JVM Architecture

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

Start free test
All JVM Architecture questions →