Withdrawn: 8277848 Binding and Unbinding to List leads to memory leak
duke
duke at openjdk.org
Mon May 29 10:18:13 UTC 2023
On Tue, 7 Dec 2021 14:57:00 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:
> Making the initial listener of the ListProperty weak fixes the problem.
> The same is fixed for Set and Map.
> Due to a smart implementation, this is done without any performance drawback.
> (The trick is to have an object, which is both the WeakReference and the Changelistener)
> By implying the same trick to the InvalidationListener, this should even improve the performance of the collection properties.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jfx/pull/689
More information about the openjfx-dev
mailing list