RFR: 8295796: ScrollPaneSkin: memory leak when changing skin

Andy Goryachev angorya at openjdk.org
Mon Nov 28 19:00:29 UTC 2022


On Fri, 21 Oct 2022 19:01:54 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> as determined by SkinMemoryLeakTest (remove line 174) and a leak tester 
> https://github.com/andy-goryachev-oracle/Test/blob/main/src/goryachev/apps/LeakTest.java
> 
> caused by:
> - adding and not removing listeners
> - adding and not removing event handlers/filters
> 
> NOTE:
> this fix requires JDK-8295242 scroll bar fixes, as well as JDK-8294809 ListenerHelper

contains changes from https://github.com/openjdk/jfx/pull/914 so perhaps that should be reviewed/integrated first.

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

PR: https://git.openjdk.org/jfx/pull/928


More information about the openjfx-dev mailing list