On 04/01/2019 06:44, Fu Jie wrote:
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.Hi,I think it's really hard to say that all weak references would be reclaimed by just calling "System.gc()" 10 times.
-Alan.
