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.

-Alan.

Reply via email to