Changes to layout behavior?

Dirk Lemmermann dlemmermann at
Tue Oct 1 12:05:26 UTC 2019


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 <>

More information about the openjfx-dev mailing list