RFR: 8295796: ScrollPaneSkin: memory leak when changing skin

Kevin Rushforth kcr at openjdk.org
Mon Nov 28 21:06:41 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

In that case, you might consider closing PR #914 , and then adding that issue to this PR with `/issue add 8295242`, so they can be reviewed together?

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

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


More information about the openjfx-dev mailing list