RFR: 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge
Leonid Mesnik
lmesnik at openjdk.org
Tue Sep 12 20:48:39 UTC 2023
On Tue, 12 Sep 2023 01:22:06 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> The test tries to generate the OOM by filling the whole heap, unfortunately it may fail if the heap is large than 25G. If the heap is around 15-20G the test is quite slow.
>
> The current patch is kind of modified version of the next [fix](https://github.com/openjdk/jdk/pull/14070/files#r1199632388), but instead of increasing timeout it minimize the amount of memory used by the heap.
Looks good and should be enough to don't fail with ZGC/SingelGenZGC.
-------------
Marked as reviewed by lmesnik (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15676#pullrequestreview-1623100226
More information about the hotspot-runtime-dev
mailing list