On Tue, 5 May 2020 20:39:18 GMT, Florian Kirmaier <fkirma...@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

Reply via email to