-
Bug
-
Resolution: Fixed
-
P2
-
16, 17
-
b30
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8258841 | 17 | Roman Kennke | P2 | Resolved | Fixed | b03 |
JDK-8260067 | 16.0.1 | Roman Kennke | P2 | Resolved | Fixed | b03 |
Currently, when doing degen-cycle, we process references right before immediate-garbage cleanup. It is imperative that we process references before any immediate garbage gets recycled, or else we may end up with bad references during reference-processing. However, the trouble is that immediate garbage can be recycled even before cleanup phase by recycle-assist. For this reason, we must process references before any evacuation during degen GC. It is also more natural: we process refs before weak roots and class-unloading during concurrent cycle, and should do the same during degen cycle.
(Note that we already prevent recycle-assist in concurrent phase)
(Note that we already prevent recycle-assist in concurrent phase)
- backported by
-
JDK-8258841 Shenandoah: Process references before evacuation during degen
- Resolved
-
JDK-8260067 Shenandoah: Process references before evacuation during degen
- Resolved
- duplicates
-
JDK-8258145 Shenandoah: TestGCBasherWithShenandoah crash during concurrent mark
- Closed
- relates to
-
JDK-8254315 Shenandoah: Concurrent weak reference processing
- Resolved
(2 links to)