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

List:       openjdk-openjfx-dev
Subject:    Re: RFR: 8277848 Binding and Unbinding to List leads to memory leak [v9]
From:       Michael =?UTF-8?B?U3RyYXXDnw==?= <mstrauss () openjdk ! org>
Date:       2023-01-26 17:12:37
Message-ID: NYgthrH5RMOOYd6o3cidJ91cnLQZVHJO56gZMW5lzUU=.6ace9539-c33a-4a0b-8d77-16a8a0c4d634 () github ! com
[Download RAW message or body]

On Thu, 26 Jan 2023 08:54:44 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.
> 
> Florian Kirmaier has updated the pull request incrementally with one additional \
> commit since the last revision: 
> JDK-8277848
> Removed print statements

Marked as reviewed by mstrauss (Committer).

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

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