hg: openjfx/2u/dev/rt: RT-29975: key to lookup cached styles depended on which parent nodes had parent stylesheets. This led to cache misses because an identical scene-graph would have a different key simply because the node instances were different. Instead, the key can just use the list of parent stylesheets.

hang.vo at oracle.com hang.vo at oracle.com
Wed Jun 26 12:28:47 PDT 2013


Changeset: 489caa3dfeb5
Author:    David Grieve<david.grieve at oracle.com>
Date:      2013-06-25 13:57 -0400
URL:       http://hg.openjdk.java.net/openjfx/2u/dev/rt/rev/489caa3dfeb5

RT-29975: key to lookup cached styles depended on which parent nodes had parent stylesheets. This led to cache misses because an identical scene-graph would have a different key simply because the node instances were different. Instead, the key can just use the list of parent stylesheets.

! javafx-ui-common/src/com/sun/javafx/css/StyleManager.java



More information about the openjfx-dev mailing list