RFR: 8339668: Parallel: Adopt PartialArrayState to consolidate marking stack in compact GC

Zhengyu Gu zgu at openjdk.org
Thu Sep 19 14:05:56 UTC 2024


Please review this patch that adopts `PartialArrayState`introduced by [JDK-8337709](https://bugs.openjdk.org/browse/JDK-8337709) to consolidate `_oop_task_queues` and `_objarray_task_queues` into single `_marking_stacks`.

The change mirrors Kim's [JDK-8311163](https://bugs.openjdk.org/browse/JDK-8311163) work, therefore, there are methods can be consolidated and simplified, but I would like defer to a followup CR.

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

Commit messages:
 - v7
 - v6
 - v5
 - v4
 - v3
 - Correct marking stride
 - v2 - tq stats
 - v1
 - v0

Changes: https://git.openjdk.org/jdk/pull/21089/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21089&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8339668
  Stats: 262 lines in 5 files changed: 152 ins; 44 del; 66 mod
  Patch: https://git.openjdk.org/jdk/pull/21089.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21089/head:pull/21089

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


More information about the hotspot-gc-dev mailing list