As part of this feature, Java introduces a callback on threads without performing a global VM safepoint. This feature gives the ability to stop threads individually without having to perform a global virtual machine safe point.
What is safepoint?
A point during program execution at which all GC roots are known and all heap object contents are consistent. All threads must block at a safepoint before the GC can run.
Reference
https://openjdk.java.net/jeps/312
https://openjdk.java.net/groups/hotspot/docs/HotSpotGlossary.html
Previous Next Home
No comments:
Post a Comment