If I run an animation which updates a canvas each pulse via setting pixels from a buffer using a PixelWriter. After a few seconds I start to get exceptions and the animation pauses for a while before continuing. Exceptions relate to texture drawing and caching.
I only get exceptions when java is launched with the -server flag, but not with a -client flag. This leads me to believe that this issue is related to garbage collection in some way.
A sample test application to demonstrate the issue is attached.
On my machine (when launched with a java -server flag), the app runs fine for six seconds, then starts printing exceptions.
Sample exceptions generated by the app are attached.
I only get exceptions when java is launched with the -server flag, but not with a -client flag. This leads me to believe that this issue is related to garbage collection in some way.
A sample test application to demonstrate the issue is attached.
On my machine (when launched with a java -server flag), the app runs fine for six seconds, then starts printing exceptions.
Sample exceptions generated by the app are attached.
- is blocked by
-
JDK-8090091 image data associated with cached nodes that are removed from a scene are not aggressively released
-
- Open
-