3 ms·
A safepoint in the JVM is a state where all the objects on the heap are consistent and the GC roots are known. These safe points are important for the GC to abl
by papercrane 4y ago
A safepoint in the JVM is a state where all the objects on the heap are consistent and the GC roots are known. These safe points are important for the GC to able to safely work.
A safepoint poll points are points in a threads execution where it's able to go into a safepoint and transfer control to the JVM so it polls to see if it should.
https://openjdk.java.net/groups/hotspot/docs/HotSpotGlossary.html https://openjdk.java.net/groups/hotspot/docs/HotSpotGlossary...
https://shipilev.net/jvm/anatomy-quarks/22-safepoint-polls/ https://shipilev.net/jvm/anatomy-quarks/22-safepoint-polls/