RFR: 8324649: Shenandoah: refactor implementation of free set [v2]
William Kemper
wkemper at openjdk.org
Fri Jan 26 18:39:34 UTC 2024
On Thu, 25 Jan 2024 21:06:17 GMT, Kelvin Nilsen <kdnilsen at openjdk.org> wrote:
>> Was thinking it's best to let the other N-1 worker threads get right to work on updating refs, while this first worker thread starts moving the available collector regions to mutator free set
>
> We want to put these Collector regions into the service of the Mutator threads as quickly as possible in order to avoid Mutator allocation failures. We also want to complete update-refs as quickly as possible, because that will put a lot more memory into the hands of the Mutators.
>
> The implementation of move_collector_sets_to_mutator() takes the heap lock when it reassigns a region's purpose from Collector to Mutator.
Okay.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/17561#discussion_r1468010743
More information about the hotspot-gc-dev
mailing list