RFR: 8372250: Merge PtrQueue into SATBMarkQueue [v2]
Ben Taylor
btaylor at openjdk.org
Thu Dec 11 00:36:47 UTC 2025
> This change merges `PtrQueue` into its only child class, `SATBMarkQueue`. The corresponding `PtrQueueSet` is merged with `SATBMarkQueueSet`, and `G1SATBMarkQueueSet` and `ShenandoahSATBMarkQueueSet` continue to inherit from that class.
>
> There are few code modifications - most methods were moved directly from `PtrQueue` to `SATBMarkQueue`. The one meaningful change is to preserve `SATBMarkQueue`'s call to `filter(queue);` before `flush_queue`.
>
> This change passes all tier1 jtreg tests with both Shenandoah and G1 in local testing.
Ben Taylor has updated the pull request incrementally with one additional commit since the last revision:
Address PR feedback from kimbarrett
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/28755/files
- new: https://git.openjdk.org/jdk/pull/28755/files/bc24bfba..148aa4f8
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=28755&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=28755&range=00-01
Stats: 44 lines in 2 files changed: 21 ins; 21 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/28755.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28755/head:pull/28755
PR: https://git.openjdk.org/jdk/pull/28755
More information about the hotspot-gc-dev
mailing list