<Beans Dev> Fwd: Re: [PATCH] test/jdk/java/beans/PropertyEditor/Test6397609.java failed in JITed code

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Jan 7 21:54:58 UTC 2019

On 07/01/2019 13:00, Alan Bateman wrote:
> On 07/01/2019 19:32, Sergey Bylokhov wrote:
>> :
>> I do not see the problem in the "limit xmx" + "throw/catch OOM" + "check the results".
>> I guess this is only correct way to check it without possibility to introduce infinite loop which checks weakref.get().
>> Why don't you like it?
> An infinite loop would imply we have a bug and the test would timeout, probably dozens of tests would timeout as we use this same idiom in several places.

Even some of the core-libs tests uses OOM:

Probably in core-libs it works for other tests because of agentvm mode, when some other tests trigger gc,
all UI and beans tests uses othervm, and most of them use OOM to trigger gc.

Best regards, Sergey.

More information about the beans-dev mailing list