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

Node clip animation consumes a lot of CPU time when running inside JFXPanel

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Environment:

      Window 7 64bit, JDK 1.6.0u31 32bit, JavaFX 2.2 32bit graphics scrum current bits

      Description

      On my quad core Windows laptop, the attached sample application consumes around 5% of available CPU time when launched as a "native" JavaFX application, and around 25% of available CPU time (that is, an entire CPU core), when launched inside a JFXPanel.

      I guess this has to do with non-rectangular clips being used by the application.

      To run the sample application inside a JFXPanel, launch it with the "embed" command line argument.

      The problem seems to be related to PERF-311 and RT-21740. However, the problem is not Mac specific and is reproducible on Windows, and profiling shows that D3DRTTexture.readPixels is not the main CPU consumer in this case.

      The problem affects WebView performance inside NetBeans, see RT-21629.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kprazdnikwse Kirill.Prazdnikov (Inactive)
                Reporter:
                vbaranov Vasiliy Baranov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: