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

Indeterminate JavaFX ProgressBar uses too much GPU

XMLWordPrintable

    • x86
    • generic

      FULL PRODUCT VERSION :
      java version "1.8.0_91"
      Java(TM) SE Runtime Environment (build 1.8.0_91-b14)
      Java HotSpot(TM) Client VM (build 25.91-b14, mixed mode)

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      GPU Hardware acceleration is enabled,
      core i7-6700, intel HD 530.



      A DESCRIPTION OF THE PROBLEM :
      An animated ProgressBar in JavaFX, with the status "indeterminate", uses an absurd amount of CPU/GPU load.

      Same problem as reported here
      https://bugs.openjdk.java.net/browse/JDK-8102571
      but it is still not fixed in current versions.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Show a JavaFX ProgressBar with .setProgress(-1).



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      GPU load ~1%.
      ACTUAL -
      GPU load > 20%.

      REPRODUCIBILITY :
      This bug can be reproduced always.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: