Skip to content
Sharp

Performance Tuning · interview question

Which feature of the G1 Garbage Collector helps to minimize pause times compared to traditional collectors?

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

Correct answer

B. Concurrent marking

Why

The G1 Garbage Collector uses concurrent marking to identify live objects without pausing the application threads extensively, thus reducing the pause times compared to traditional stop-the-world collectors.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →