RFR: 8280761: UseCompressedOops should be set after limit_heap_by_allocatable_memory [v3]
Albert Mingkun Yang
ayang at openjdk.java.net
Fri Apr 8 10:16:44 UTC 2022
On Fri, 8 Apr 2022 09:18:01 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>> I think this is that the initial value for `reasonable_max` is exactly `MaxRAM`; you are right that for this test it is not necessary to pass it explicitly, just always set it to 100 percent in the command line.
>
> Consider that values like `MaxRAM` might change in the future (unlikely as it is). Setting it makes following the execution a bit easier imho.
Aha, I see. Having `MaxRAMPercentage` set explicitly instead of relying on its default value indeed makes the test more resilient. Please add a comment for `MaxRAMPercentage`.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7938
More information about the hotspot-gc-dev
mailing list