Skip to content
Sharp

Performance Tuning · interview question

What does the Z Garbage Collector (ZGC) mainly aim to achieve?

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

Correct answer

D. To minimize pause times during garbage collection.

Why

The Z Garbage Collector (ZGC) aims to minimize pause times, often achieving sub-millisecond pauses by performing much of its work concurrently with application threads, thus reducing the impact on application performance.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →