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

RenderPerfTest incorrectly measures performance

    XMLWordPrintable

Details

    • 2d
    • b26

    Description

      The test (test/jdk/performance/client/RenderPerfTest) has some flaws in detection of the marker frames and uses Swing timer to periodically check the color of the marker. The timer is not reliable because it could swallow some updates if there are unprocessed ones on the EDT. Also, there is no protection from missing frames, so the test could hang till the end timeout if some updates were not rendered.

      Attachments

        1. rp_m1_metal_after.txt
          1 kB
        2. rp_m1_metal_before.txt
          1 kB
        3. rp_m1_ogl_after.txt
          1 kB
        4. rp_m1_ogl_before.txt
          1 kB
        5. rp_x64_metal_after.txt
          1 kB
        6. rp_x64_metal_before.txt
          1 kB
        7. rp_x64_ogl_after.txt
          1 kB
        8. rp_x64_ogl_before.txt
          1 kB

        Issue Links

          Activity

            People

              avu Alexey Ushakov
              avu Alexey Ushakov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: