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

Leonid Mesnik lmesnik at openjdk.org
Tue Aug 9 21:09:36 UTC 2022


On Tue, 9 Aug 2022 07:33:22 GMT, Ramkumar Sunderbabu <rsunderbabu at openjdk.org> wrote:

>> Tested with all GC options
>
> 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"

Marked as reviewed by lmesnik (Reviewer).

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

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

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


More information about the hotspot-dev mailing list