Skip to content
Sharp

Performance Tuning · interview question

Which garbage collection algorithm is designed to handle large heaps with minimal pause times?

Multiple choiceEasychapter-14-curatedpremiumperformance-tuningstop-the-world-pauses
Choose one answer
Answer and explanation

Correct answer

C. ZGC

Why

The Z Garbage Collector (ZGC) is specifically designed to handle large heaps with minimal pause times, often achieving sub-millisecond pauses by performing most of its work concurrently.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →