Skip to content
Sharp

Performance Tuning · interview question

Which aspect of G1GC makes it suitable for applications requiring predictable pause times?

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

Correct answer

C. Its ability to target specific pause times

Why

G1GC is designed to achieve predictable pause times by allowing users to specify desired maximum pause durations. It uses region-based collection to meet these targets, making it suitable for applications with strict latency requirements.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →