-
Bug
-
Resolution: Fixed
-
P4
-
jfx11, jfx14
-
None
-
Affected versions:
11 - 14.x
Platforms:
Monocle
Not affected:
Mac without Monocle
Maybe effected:
Windows without Monocle (I've seen a heap dump which looked the same)
-
Fix failed
The last focused Stage get's saved in the variable com.sun.glass.ui.Window.focusedWindow and com.sun.glass.ui.monocle.MonocleWindowManager.focusedWindow .
Unfortunately, this also happens sometimes, when the Stage is already closed.
This changes the memory semantics for JavaFX and makes testing and searching Code for memory leaks very difficult and unreliable.
I've already written a test and a possible fix. Pull request is on the way.
Unfortunately, this also happens sometimes, when the Stage is already closed.
This changes the memory semantics for JavaFX and makes testing and searching Code for memory leaks very difficult and unreliable.
I've already written a test and a possible fix. Pull request is on the way.
- relates to
-
JDK-8251555 Remove unused focusedWindow field in glass Window to avoid leak
- Resolved
-
JDK-8254605 repaint on Android broken
- Resolved
-
JDK-8254956 [REDO] Memoryleak: Closed focused Stages are not collected with Monocle
- Resolved