On Wed, 10 Mar 2021 22:25:32 GMT, Florian Kirmaier <fkirma...@openjdk.org> 
wrote:

> Fixing a memory leak. 
> A node hard references its old parent after CSS layout and getting removed. 
> This shouldn't be the case, this is very counterintuitive.
> 
> The fix uses a WeakReference in CSSStyleHelper for firstStyleableAncestor.
> This should be fine because the CSS should only depend on it if it's still 
> the real parent. 
> In that case, it doesn't get collected.

Since this touches CSS, it needs a second reviewer.

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

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

Reply via email to