RFR: 8370850: Shenandoah: Simplify collector allocation to save unnecessary region iteration [v3]
Xiaolong Peng
xpeng at openjdk.org
Tue Nov 4 16:47:20 UTC 2025
On Fri, 31 Oct 2025 21:00:46 GMT, Xiaolong Peng <xpeng at openjdk.org> wrote:
>> The young and old collector reserves both have `FREE` regions, but we need to make sure we don't exceed the reserves for one or the other.
>
> I have added the can_allocate_in_new_region check back, it should have same behavior now.
I have removed can_allocate_in_new_region again after merging @kdnilsen's change unifying accountings, since we don't have consistency in accountings anymore.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28036#discussion_r2491266912
More information about the hotspot-gc-dev
mailing list