Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8223109

Resource pool : high CPU usage in Quantum renderer thread

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      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.



        Attachments

          Activity

            People

            • Assignee:
              kcr Kevin Rushforth
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: