Skip to content
Sharp

Performance Tuning · interview question

Why is it risky to diagnose production latency from GC logs alone?

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

Correct answer

B. Latency might come from blocked or spinning threads, and GC logs do not show that execution detail

Why

GC logs explain collection behavior over time, but they do not tell you what threads are blocked on or which external resource is causing contention. Mature diagnosis correlates GC, heap, and thread evidence.

Test yourself on Performance Tuning

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

Start free test
All Performance Tuning questions →