Re: RFR: 8277848: Binding and Unbinding to List leads to memory leak [v10]

2024-06-05 Thread Kevin Rushforth
On Wed, 5 Jun 2024 07:29:58 GMT, Florian Kirmaier wrote: >> Florian Kirmaier has updated the pull request with a new target base due to >> a merge or a rebase. The pull request now contains 10 commits: >> >> - Merge branch 'openjdk:master' into JDK-8277848-list-binding-leak >> - JDK-8277848 >

Re: RFR: 8277848: Binding and Unbinding to List leads to memory leak [v10]

2024-06-05 Thread Florian Kirmaier
On Wed, 5 Jun 2024 07:24:35 GMT, Florian Kirmaier 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 b

Re: RFR: 8277848: Binding and Unbinding to List leads to memory leak [v10]

2024-06-05 Thread Florian Kirmaier
> 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