Hi Sergey,

It seems the root cause is in the Util.generateOOME() method from the regtesthelpers library. It should take into account the heap maximum limit to generate OOME in a reasonable time.

This utility method is used in other tests which are not covered by the fix but may fail due to the same reason.

--Semyon


On 6/27/2016 6:25 PM, Sergey Bylokhov wrote:
Hello.
Please review the fix for jdk9.

Some of our tests fails with timeout when they tries to generate OOM. This occur on the systems which have huge number of memory.

In the fix I added "-xm" option to minimize the available amount of memory.

Bug: https://bugs.openjdk.java.net/browse/JDK-8159899
Webrev can be found at: http://cr.openjdk.java.net/~serb/8159899/webrev.00


Reply via email to