RFR: 8341630: G1: Adopt PartialArrayState to consolidate marking stack in concurrent marking

Ivan Walulya iwalulya at openjdk.org
Thu Jan 15 11:52:05 UTC 2026


Hi,

Please review this change which adopts the `PartialArrayState` mechanism for G1 concurrent marking.

The `PartialArrayState` mechanism can push multiple continuations to the task queues, so it also solves the single-continuation limitation issue in [JDK-8167480](https://bugs.openjdk.org/browse/JDK-8167480).

Testing: Mach5 Tier 1-3.

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

Commit messages:
 - cleanup after merge
 - Merge remote-tracking branch 'upstream/master' into CMArrayChuck_V1
 - Merge remote-tracking branch 'upstream/master' into CMArrayChuck_V1
 - cleanups
 - space
 - Merge remote-tracking branch 'upstream/master' into CMArrayChuck_V1
 - Reset Partial Array State Manager
 - init

Changes: https://git.openjdk.org/jdk/pull/29249/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29249&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8341630
  Stats: 387 lines in 7 files changed: 132 ins; 219 del; 36 mod
  Patch: https://git.openjdk.org/jdk/pull/29249.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29249/head:pull/29249

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


More information about the hotspot-gc-dev mailing list