RFR: 8241840: Memoryleak: Closed focused Stages are not collected with Monocle. [v5]

Florian Kirmaier fkirmaier at openjdk.java.net
Fri Aug 14 10:10:01 UTC 2020


On Thu, 13 Aug 2020 19:49:45 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> The fix looks good now. I'll file a follow-up issue for the potential leak on the other platforms.
>> 
>> My thinking is that if `focusedWindow` is only used in Monocle, we should push the tracking down to the platform rather
>> than tracking it in the base class. Alternatively, we could have a platform-specific attribute that indicates whether
>> to track (and leave it null otherwise).
>
> I filed [JDK-8251555](https://bugs.openjdk.java.net/browse/JDK-8251555) to track the follow-on issue.

Great, I've added the changes and commented on the now ticket.

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

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


More information about the openjfx-dev mailing list