-
Sub-task
-
Resolution: Fixed
-
P4
-
repo-shenandoah
-
b06
Shenandoah keeps track of the gc state in `ShenandoahHeap::_gc_state`. This value is only changed on a safepoint. It is also propagated to (almost) all threads on a safepoint. Apart from verification, changing this value is the only reason for `init-update-refs` safepoint to exist. If we can manage `_gc_state` is a purely thread local variable, we could eliminate this safepoint.
- links to
-
Commit(master) openjdk/jdk/764d70b7
-
Review(master) openjdk/jdk/22688