-
Bug
-
Resolution: Unresolved
-
P4
-
jfx11, 8u192
-
x86_64
-
linux
A DESCRIPTION OF THE PROBLEM :
we detect a high CPU usage in the Quantum renderer thread when several thousands of small images have been loaded.
At the end of each render, BaseRespourcePool.freeDisposalRequestedAndCheckResources() is called to verify if each resources should be disposed : ManagedResource._isgone() is invoked thousands times but my images are "permanent" and no free is needed.
The "free" algorithme is not scalable
Same problem in BaseRespourcePool.resourceFreed(), BaseRespourcePool.cleanup(), ...
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Load 2000 icons from files.
we detect a high CPU usage in the Quantum renderer thread when several thousands of small images have been loaded.
At the end of each render, BaseRespourcePool.freeDisposalRequestedAndCheckResources() is called to verify if each resources should be disposed : ManagedResource._isgone() is invoked thousands times but my images are "permanent" and no free is needed.
The "free" algorithme is not scalable
Same problem in BaseRespourcePool.resourceFreed(), BaseRespourcePool.cleanup(), ...
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Load 2000 icons from files.