<Beans Dev> Fwd: Re: [PATCH] test/jdk/java/beans/PropertyEditor/Test6397609.java failed in JITed code
Alan Bateman
Alan.Bateman at oracle.com
Fri Jan 4 07:50:40 UTC 2019
On 04/01/2019 06:44, Fu Jie wrote:
> Hi,
>
> I think it's really hard to say that all weak references would be
> reclaimed by just calling "System.gc()" 10 times.
I don't like the new patch or catching OOME and do not wish to be a
Reviewer on that version. The approach that we use in dozens of other
tests is to call System.gc(), sleep, test if the reference has been
cleared, and retry if needed.
-Alan.
More information about the beans-dev
mailing list