RFR: 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects" [v4]
Ramkumar Sunderbabu
rsunderbabu at openjdk.org
Wed Aug 10 00:15:49 UTC 2022
On Tue, 9 Aug 2022 21:05:32 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> Ramkumar Sunderbabu has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects"
>
> test/hotspot/jtreg/vmTestbase/gc/lock/LockerTest.java line 54:
>
>> 52: ExecutionController stresser = getExecutionController();
>> 53: // Use only 30% of the heap.
>> 54: final long testMemory = 3 * Runtime.getRuntime().maxMemory() / 10;
>
> might be better to rename to testMemorySize
I prefer to leave it as engageGC, it shows the intent better.
-------------
PR: https://git.openjdk.org/jdk/pull/9658
More information about the hotspot-dev
mailing list