Integrated: 8348278: Trim InitialRAMPercentage to improve startup in default modes
Aleksey Shipilev
shade at openjdk.org
Fri Sep 19 14:29:05 UTC 2025
On Thu, 23 Jan 2025 11:27:46 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> See bug for discussion. This is the code change, which is simple. What is not simple is deciding what the new value should be. The change would probably require CSR, which I can file after we agree on the value.
>
> I think cutting to 0.2% of RAM size gets us into good sweet spot:
> - On huge 1024G machine, this yields 2G initial heap
> - On reasonably sized 128G machine, this gives 256M initial heap
> - On smaller 1G container, this gives 2M initial heap
>
> Additional testing:
> - [x] Linux AArch64 server fastdebug, `all`
This pull request has now been integrated.
Changeset: 1512d889
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1512d889dee2adb6d4536202dc7f205e5daf6fe7
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
8348278: Trim InitialRAMPercentage to improve startup in default modes
Reviewed-by: eosterlund, sjohanss
-------------
PR: https://git.openjdk.org/jdk/pull/23262
More information about the hotspot-gc-dev
mailing list