[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Withdrawn: 8277848 Binding and Unbinding to List leads to memory leak
From:       duke <duke () openjdk ! org>
Date:       2023-05-29 10:18:13
Message-ID: 4SfDiHzIC97RHgYbAwivq4TOjanUUk1b0xb9NpNkrZ8=.8b2d2888-dc45-4551-8af9-952b26c4e3ad () github ! com
[Download RAW message or body]

On Tue, 7 Dec 2021 14:57:00 GMT, Florian Kirmaier <fkirmaier@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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic