RFR: 8372995: SerialGC: Allow SerialHeap::allocate_loaded_archive_space expand old_gen
Axel Boldt-Christmas
aboldtch at openjdk.org
Wed Dec 3 15:24:32 UTC 2025
On Wed, 3 Dec 2025 10:24:18 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:
> `SerialHeap::allocate_loaded_archive_space` does currently not expand the old gen when allocating the archive space. This will cause problems when a not streamed aot archive cannot fit within the initial old size.
>
> I propose we change this work like `ParallelHeap::allocate_loaded_archive_space` where we allow for old generation expansion.
>
> The not streamed aot archive will now only be limited by the max old size rather than the initial old size.
>
> * Testing
> * Running GHA
> * Running tier 1-5 on Oracle supported platforms
We need ot get this in a bit earlier than the normal 24h rule because of a dependent issue we want reviewed an integrated before the fork.
Thanks for the reviews.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28628#issuecomment-3607370120
More information about the hotspot-gc-dev
mailing list