Skip to content
Sharp

Performance Tuning · interview question

In a system using the Z Garbage Collector (ZGC), what is a notable advantage compared to traditional Stop-The-World garbage collectors?

Multiple choiceHardchapter-14-curatedpremiumperformance-tuningthread-dumps
Choose one answer
Answer and explanation

Correct answer

B. Reduced pause times with concurrent processing

Why

ZGC is designed to minimize pause times by performing most garbage collection work concurrently with application threads. This allows for significantly reduced Stop-The-World pauses, even with very large heap sizes.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →