> When the remembered set scan encounters an old weak reference with an old 
> referent on a dirty card, the referent will be strongly marked. This may 
> erroneously prevent the referent from being cleared and collected.
> 
> Note to reviewers:
> Much of the changes here add support for triggering Shenandoah's old 
> collections from the `whitebox` API. The actual fix is just a small change to 
> the remembered set scan to drop the reference to the old mark queues. The 
> rest is all to support the test.
> 
> There is also a bit of cleanup which removes an unused `#ifdef` block guarded 
> by `ENABLE_REMEMBERED_SET_CANCELLATION`.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

William Kemper has updated the pull request with a new target base due to a 
merge or a rebase. The pull request now contains 21 commits:

 - Fix merge fallout
 - Fix merge error
 - Merge branch 'whitebox-cherry-pick' into rset-scan-should-not-mark-old
 - Merge new trunk (should probably be a rebase...)
 - Merge remote-tracking branch 'jdk/master' into rset-scan-should-not-mark-old
 - Fix typo, build ClassFileInstaller explicitly
 - Test improvements
 - Merge remote-tracking branch 'jdk/master' into rset-scan-should-not-mark-old
 - Improve progress guarantees when waiting for old cycle
 - Drop unrelated cherry-pick (these will come later)
 - ... and 11 more: https://git.openjdk.org/jdk/compare/02451f39...04ea3108

-------------

Changes: https://git.openjdk.org/jdk/pull/33169/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=33169&range=04
  Stats: 160 lines in 6 files changed: 135 ins; 15 del; 10 mod
  Patch: https://git.openjdk.org/jdk/pull/33169.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/33169/head:pull/33169

PR: https://git.openjdk.org/jdk/pull/33169

Reply via email to