RFR: 8294589: MenuBarSkin: memory leak when changing skin [v15]

Andy Goryachev angorya at openjdk.org
Thu Dec 1 19:43:47 UTC 2022


On Thu, 1 Dec 2022 17:53:32 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

>> my version does not create extra object(s).
>
> Hm, I thought that the number of objects created is the same, either a `ChangeListener` is created and then wrapped in `ChLi` or a `Consumer` is created and wrapped in `ChLi`.

yes, you are right (I was thinking of some earlier version of LH).  thanks!

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

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


More information about the openjfx-dev mailing list