Skip to content
Sharp

Performance Tuning · interview question

Two services show similar steady-state heap size, but one has much worse throughput. Which explanation fits best?

Multiple choiceHardchapter-14-curatedpremiumperformance-tuningallocation-churn
Choose one answer
Answer and explanation

Correct answer

D. It creates far more short-lived objects in hot paths

Why

Two applications can settle at similar heap usage while one does much more allocation and collection work. High temporary object churn can hurt throughput even without a classic leak.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →