List scrolling is very slow in JavaFX 17
Glavo
zjx001202 at gmail.com
Tue Nov 22 08:22:25 UTC 2022
Hi,
I'm one of the maintainers of the open source project HMCL (Hello!
Minecraft Launcher*)*. This is a Minecraft launcher based on JavaFX.
In the past year, we have received a lot of feedback on performance
problems. Through performance analysis, I noticed that from JavaFX 17 ea+8,
the performance of list scrolling is terrible.
I analyzed the method calls and noticed that the updateItem method of
ListCell is called 8 times more frequently in JavaFX 17 than in JavaFX 16.
I guess this is due to the following commit:
https://github.com/openjdk/jfx/commit/8e547571fb3d40df843c27fc11921b5d4765c481
I wonder if this is a bug?
Best regards,
Glavo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20221122/561ddb21/attachment.htm>
More information about the openjfx-dev
mailing list