Skip to content
Sharp

Engineering Interviews · interview question

Why can a 'Stop-The-World' garbage collection event become a problem in production code?

Multiple choiceHardchapter-20-curatedpremiumengineering-interviewsjvm-trivia
Choose one answer
Answer and explanation

Correct answer

D. It may cause application threads to pause.

Why

A 'Stop-The-World' event pauses all application threads to perform garbage collection. This can lead to noticeable pauses in application performance, especially in latency-sensitive applications.

Test yourself on Engineering Interviews

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

Start free test
All Engineering Interviews questions →