[Rev 03] RFR: 8244297: memory leak test utility

Jesper Skov github.com+2720909+jskov at openjdk.java.net
Thu May 7 17:01:07 UTC 2020


On Tue, 5 May 2020 20:39:18 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

>> It's also worth mentioning that this utility allows checking whether an object can not be collected. This is important
>> because the applications, which are using WeakReferences/WeakListeners often introduce bugs that are hard to debug
>> because they only happen after the GC has been run.
>
> I've now added also some JavaDoc to the public methods.

What I tried asking from my work account is: what is the purpose of createGarbage?

-------------

PR: https://git.openjdk.java.net/jfx/pull/204


More information about the openjfx-dev mailing list