RFR: 8368740: Serial: Swap eden and survivor spaces position in young generation [v2]

Thomas Schatzl tschatzl at openjdk.org
Tue Oct 7 20:13:36 UTC 2025


On Fri, 26 Sep 2025 13:27:32 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Change the relative position of eden and survior spaces in young-gen so that eden can be expanded to fulfill allocation request in heap-near-full scenario. What is on master doesn't allow eden expansion if there is live objs inside from/to after full-gc.
>> 
>> Test: tier1-8
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review

Just a random comment: why are the locations of young gen and old gen swapped in Serial and Parallel, is there a reason? (Functionally it does not seem so).

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

PR Comment: https://git.openjdk.org/jdk/pull/27513#issuecomment-3360275835


More information about the hotspot-gc-dev mailing list