RFR: 8370498: Improve how Node detects whether a layout property change requires a new layout pass [v4]

Andy Goryachev angorya at openjdk.org
Tue Oct 28 17:03:08 UTC 2025


On Tue, 28 Oct 2025 16:51:35 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> Also, the CPU cost is still there

that's true, but the cost will be there anyway - but now we are skipping the rendering and removing the flicker.  So it's a win-win, as long as the layout converges.

One example is when the layout must further change based on the current layout pass, such as when the scroll bar appears or disappears.

Also, doing these burst micro-layouts might be independent of any other work we are doing in terms of removing "bad patters" (the scroll bar scenario above is not really a bad pattern on itself, just a fact of life, I think).

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

PR Comment: https://git.openjdk.org/jfx/pull/1945#issuecomment-3457533655


More information about the openjfx-dev mailing list