RFR: 8280761: UseCompressedOops should be set after limit_heap_by_allocatable_memory [v3]
KIRIYAMA Takuya
duke at openjdk.java.net
Tue Apr 12 06:50:32 UTC 2022
On Mon, 11 Apr 2022 13:33:27 GMT, Thomas Schatzl <tschatzl at openjdk.org> wrote:
>>> This looks like an additional (unrelated) test to make sure it is overridden if necessary imho.
>>
>> That is correct.
>> Do you mean that the following code should be removed?
>>
>> `checkFlag(128 * oneG, 100, true, true);`
>
> Yes. Removing this test case would limit the testing to the actual problem stated in the CR. Verifying that `UseCompressedOops` is enabled correctly is tested somewhere else already, and there is no reason that using `ulimit -v` would change that behavior.
I understand.
I removed this test patern.
-------------
PR: https://git.openjdk.java.net/jdk/pull/7938
More information about the hotspot-gc-dev
mailing list