RFR: JDK-8304960: ObservableListBase should defer constructing ListChangeBuilder

Andy Goryachev angorya at openjdk.org
Wed Mar 29 15:34:40 UTC 2023


On Wed, 29 Mar 2023 12:15:02 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:

> A 1200 Node application sees a 2/3rds reduction of ListChangeBuilder's created.  Every `Node` for example has an `ObservableList` for style classes, and every `Parent` has one for stylesheets, which rarely if ever change.

the only place where this code might fail is when it gets accessed from multiple threads.

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

PR Comment: https://git.openjdk.org/jfx/pull/1075#issuecomment-1488851086


More information about the openjfx-dev mailing list