Skip to content
Sharp

Performance Tuning · interview question

In the context of JVM Garbage Collection, what is a 'Stop-The-World' pause?

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

Correct answer

C. A pause where all application threads are stopped for GC.

Why

A 'Stop-The-World' pause is when the JVM stops all application threads to perform garbage collection. This is necessary for certain phases of garbage collection but can affect application performance if the pauses are too long.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →