RFR: 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects" [v2]

Ramkumar Sunderbabu rsunderbabu at openjdk.org
Mon Aug 8 15:36:35 UTC 2022


On Mon, 8 Aug 2022 15:28:49 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/nsk/share/gc/gp/GarbageUtils.java line 96:
> 
>> 94:             int iteration = 0;
>> 95: 
>> 96:             while (stresser.continueExecution()) {
> 
> This loop never completes, while the goal is to produce some garbage and trigger GC.

stresser runs for the duration of the test, I believe. Loop completes when test duration is complete.

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

PR: https://git.openjdk.org/jdk/pull/9658


More information about the hotspot-dev mailing list