Integrated: 8372250: Merge PtrQueue into SATBMarkQueue

Ben Taylor btaylor at openjdk.org
Fri Dec 12 16:31:02 UTC 2025


On Wed, 10 Dec 2025 18:26:16 GMT, Ben Taylor <btaylor at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 0eb2bcd2
Author:    Ben Taylor <btaylor at openjdk.org>
Committer: William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/0eb2bcd260426bc449264b72a2cee8ce109308ee
Stats:     475 lines in 6 files changed: 173 ins; 287 del; 15 mod

8372250: Merge PtrQueue into SATBMarkQueue

Reviewed-by: kbarrett, iwalulya, tschatzl, wkemper

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

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


More information about the hotspot-gc-dev mailing list