There were a few bug fixes in layout and scene graph in JDK 9 and 10 that might be relevant. Here are a couple to look at:

https://bugs.openjdk.java.net/browse/JDK-8137252
https://bugs.openjdk.java.net/browse/JDK-8173796

-- Kevin


On 10/1/2019 5:05 AM, Dirk Lemmermann wrote:
Hi,

I recently noticed that some of my frameworks constantly run the 
layoutChildren() method of their skins when they are being executed with Java 
11+. I assume the reason is that I am adding nodes to the scenegraph INSIDE the 
layoutChildren() method. This used to work very well, but now it causes an 
infinite loop. The controls are still responsive, but I can see high CPU and 
memory usage because of it.

Does anyone know what has changed between 8 and 11 that could have caused this 
change in behavior?

—Dirk
jfx-days.com <http://jfx-days.com/>


Reply via email to