Integrated: 8295796: ScrollPaneSkin: memory leak when changing skin

Andy Goryachev angorya at openjdk.org
Tue Nov 29 16:26:08 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

This pull request has now been integrated.

Changeset: fbad15d1
Author:    Andy Goryachev <angorya at openjdk.org>
Committer: Kevin Rushforth <kcr at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/fbad15d1add3f8680b3aa5e8a2b7da2d812e8fd7
Stats:     107 lines in 3 files changed: 23 ins; 26 del; 58 mod

8295796: ScrollPaneSkin: memory leak when changing skin
8295242: ScrollBarSkin: memory leak when changing skin

Reviewed-by: aghaisas

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

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


More information about the openjfx-dev mailing list