Problem Statement
What is a safepoint and why might long time-to-safepoint (TTSP) spikes occur?
Explanation
At safepoints the JVM halts mutator threads. If a thread can’t poll (e.g., busy native call or hot loop with eliminated polls), the VM waits, inflating pause time.
Practice Sets
This question appears in the following practice sets: