> 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
Added missing change

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

Changes:
- all: https://git.openjdk.java.net/jfx/pull/689/files
- new: https://git.openjdk.java.net/jfx/pull/689/files/675f3bf9..f9b7009b

Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jfx&pr=689&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jfx&pr=689&range=00-01

Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jfx/pull/689.diff
Fetch: git fetch https://git.openjdk.java.net/jfx pull/689/head:pull/689

PR: https://git.openjdk.java.net/jfx/pull/689

Reply via email to