RFR: 8294589: MenuBarSkin: memory leak when changing skin [v6]
Andy Goryachev
angorya at openjdk.org
Tue Oct 11 23:19:41 UTC 2022
> Fixed memory leak by using weak listeners and making sure to undo everything that has been done to MenuBar/Skin in dispose().
>
> This PR depends on a new internal class ListenerHelper, a replacement for LambdaMultiplePropertyChangeListenerHandler.
> See https://github.com/openjdk/jfx/pull/908
Andy Goryachev has updated the pull request incrementally with four additional commits since the last revision:
- 8294589: register
- Merge branch '8294809.listener.helper' into 8294589.menubarskin.leak
- 8294809: change listener with callback
- 8294809: skin base
-------------
Changes:
- all: https://git.openjdk.org/jfx/pull/906/files
- new: https://git.openjdk.org/jfx/pull/906/files/43841d5e..21fc352e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jfx&pr=906&range=05
- incr: https://webrevs.openjdk.org/?repo=jfx&pr=906&range=04-05
Stats: 102 lines in 3 files changed: 92 ins; 6 del; 4 mod
Patch: https://git.openjdk.org/jfx/pull/906.diff
Fetch: git fetch https://git.openjdk.org/jfx pull/906/head:pull/906
PR: https://git.openjdk.org/jfx/pull/906
More information about the openjfx-dev
mailing list