Integrated: 8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge

Sergey Bylokhov serb at openjdk.org
Wed Sep 13 02:35:47 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.

This pull request has now been integrated.

Changeset: bd52bbfa
Author:    Sergey Bylokhov <serb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/bd52bbfa272691caab227d736021362c06449535
Stats:     1 line in 1 file changed: 0 ins; 0 del; 1 mod

8316060: test/hotspot/jtreg/runtime/reflect/ReflectOutOfMemoryError.java may fail if heap is huge

Reviewed-by: lmesnik, dholmes

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

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


More information about the hotspot-runtime-dev mailing list