Skip to content
Sharp

Performance Tuning · interview question

Which garbage collector is designed to minimize pause times and is suitable for applications requiring low latency?

Multiple choiceMediumchapter-14-curatedpremiumperformance-tuningoutofmemoryerrors
Choose one answer
Answer and explanation

Correct answer

A. ZGC

Why

ZGC (Z Garbage Collector) is designed to minimize pause times by performing most of its work concurrently with the application threads. It is suitable for applications requiring low latency and can handle very large heaps.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →