RFR: 8348278: Trim InitialRAMPercentage to improve startup in default modes

Aleksey Shipilev shade at openjdk.org
Tue Jan 28 10:28:53 UTC 2025


On Thu, 23 Jan 2025 18:10:03 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> I think it may be a little more preferrable to clamp this to some interval so that the value does not get unreasonably large or unreasonably small

I think min heap size and max heap size already serve as good bounds here, and those are already handled by the ergonomics code. We "only" need to choose the point between min and max where a reasonable init size should be.

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

PR Comment: https://git.openjdk.org/jdk/pull/23262#issuecomment-2618590889


More information about the hotspot-gc-dev mailing list