Skip to content
Sharp

Garbage Collection · interview question

Which garbage collector is designed to minimize latency by reducing 'Stop-The-World' pauses?

Multiple choiceMediumchapter-14-curatedpremiumgarbage-collectiongenerational-gc
Choose one answer
Answer and explanation

Correct answer

C. ZGC

Why

ZGC (Z Garbage Collector) is designed to minimize latency by aiming to keep 'Stop-The-World' pauses very short, making it suitable for applications requiring low-latency performance.

Test yourself on Garbage Collection

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

Start free test
All Garbage Collection questions →