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.

Reply via email to