RFR: 8269907 memory leak - Dirty Nodes / Parent removed [v2]

Kevin Rushforth kcr at openjdk.java.net
Thu Oct 14 14:32:52 UTC 2021


On Thu, 22 Jul 2021 11:50:11 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

>> After thinking about this issue for some time, I've now got a solution.
>> I know put the scene in the state it is, before is was shown, when the dirtyNodes are unset, the whole scene is basically considered dirty. 
>> This has the drawback of rerendering, whenever a window is "reshown", but it restores sanity about memory behaviour, which should be considered more important.
>
> Florian Kirmaier has updated the pull request incrementally with one additional commit since the last revision:
> 
>   JDK-8269907
>   The bug is now fixed in a new way. Toolkit now supports registering CleanupListeners, which can clean up the dirty nodes, avoiding memoryleaks.

I don't have a good suggestion at the moment.

Converting this to Draft, since it isn't (yet) ready for review.

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

PR: https://git.openjdk.java.net/jfx/pull/584


More information about the openjfx-dev mailing list