RFR: JDK-8322795 CSS performance regression up to 10x
Johan Vos
jvos at openjdk.org
Mon Mar 11 10:23:03 UTC 2024
On Wed, 3 Jan 2024 01:14:13 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:
> The regression is caused by the `Collections.unmodifiableSet` wrapper not being recognized by `BitSet`, and a fall back is done to a less optimized version of `containsAll`.
>
> As this is a regression fix, I've kept the fix as small as reasonable. I'll provide a further optimized version as part of https://bugs.openjdk.org/browse/JDK-8322964 which eliminates the need for `BitSet` and `StyleClass` in the hot code paths which should result in a further CSS performance improvement.
>
> I've tested this solution with the JFXCentral application locally and the regression seems resolved.
that's a good candidate indeed.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1314#issuecomment-1988065903
More information about the openjfx-dev
mailing list