Integrated: 8372995: SerialGC: Allow SerialHeap::allocate_loaded_archive_space expand old_gen
Axel Boldt-Christmas
aboldtch at openjdk.org
Wed Dec 3 15:24:33 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
This pull request has now been integrated.
Changeset: 3d54a802
Author: Axel Boldt-Christmas <aboldtch at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/3d54a802e38f425c7035c947758c887fec48e43a
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
8372995: SerialGC: Allow SerialHeap::allocate_loaded_archive_space expand old_gen
Reviewed-by: ayang, jsikstro
-------------
PR: https://git.openjdk.org/jdk/pull/28628
More information about the hotspot-gc-dev
mailing list