-
Bug
-
Resolution: Fixed
-
P4
-
25
-
master
When weak handles are cleared, the `nullptr` is stored with the `ON_PHANTOM_OOP_REF` decorator. For concurrent collectors using a SATB barrier like Shenandoah, this may cause the referent to be enqueued and marked when it would be otherwise unreachable. The problem is especially acute for Shenandoah's generational mode, in which a young region holding the otherwise unreachable referent, may become trash after the referent is enqueued for old marking. Shenandoah's store barrier should be modified to not enqueue WEAK or PHANTOM stores in the SATB buffer.
- links to
-
Commit(master) openjdk/jdk/a347ecde
-
Review(master) openjdk/jdk/23935
-
Review(master) openjdk/jdk/24001