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

[macosx] Performance problems with Retina display on Mac OS X

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 7u40, 8, 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Environment:
    • Subcomponent:
    • Resolved In Build:
      b38
    • OS:
      os_x

      Backports

        Description

        Text editing and scrolling in Java Swing applications is slow when running on Mac OS X with a Retina display. To reproduce create a JFrame with a JTextPane and past some large text into the pane. Then start editing the text to force scrolling in the text pane. It will be slow and CPU usage for that process will go over 100%.
        The same application running on external display connected to the same machine is much faster with CPU usage never going over 50%.
        It is reproducible with JDK 8 build 117 as well. Adjusting resolution scaling in OS X System Preferences makes no difference. The problem is even more severe on MacBook Air computer - probably because their CPUs are less powerful.

        See also https://netbeans.org/bugzilla/show_bug.cgi?id=237724

          Issue Links

            Activity

            saubrech Stanislav Aubrecht created issue -
            vdyakov Victor Dyakov made changes -
            Field Original Value New Value
            Labels netbeans macosx netbeans
            vdyakov Victor Dyakov made changes -
            Summary Performance problems with Retina display on Mac OS X [macosx] Performance problems with Retina display on Mac OS X
            vdyakov Victor Dyakov made changes -
            Assignee Sergey Bylokhov [ serb ]
            serb Sergey Bylokhov made changes -
            Status New [ 10000 ] Open [ 1 ]
            serb Sergey Bylokhov made changes -
            Affects Version/s 7u40 [ 14570 ]
            Affects Version/s 8 [ 11815 ]
            Affects Version/s 7u45 [ 14810 ]
            Priority P3 [ 3 ] P4 [ 4 ]
            vdyakov Victor Dyakov made changes -
            Fix Version/s 8-pool [ 11886 ]
            saubrech Stanislav Aubrecht made changes -
            Priority P4 [ 4 ] P3 [ 3 ]
            anebuzel Antonín Nebuželský made changes -
            Priority P3 [ 3 ] P2 [ 2 ]
            vdyakov Victor Dyakov made changes -
            Fix Version/s 8 [ 11815 ]
            Fix Version/s 8-pool [ 11886 ]
            vdyakov Victor Dyakov made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Incomplete [ 4 ]
            saubrech Stanislav Aubrecht made changes -
            Resolution Incomplete [ 4 ]
            Status Resolved [ 5 ] Open [ 1 ]
            vdyakov Victor Dyakov made changes -
            Status Open [ 1 ] New [ 10000 ]
            vdyakov Victor Dyakov made changes -
            Status New [ 10000 ] Open [ 1 ]
            vdyakov Victor Dyakov made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Incomplete [ 4 ]
            saubrech Stanislav Aubrecht made changes -
            Resolution Incomplete [ 4 ]
            Status Resolved [ 5 ] Open [ 1 ]
            vdyakov Victor Dyakov made changes -
            Labels macosx netbeans 8-critical-watch macosx netbeans
            vdyakov Victor Dyakov made changes -
            Status Open [ 1 ] New [ 10000 ]
            vdyakov Victor Dyakov made changes -
            Assignee Sergey Bylokhov [ serb ] Victor Dyakov [ vdyakov ]
            vdyakov Victor Dyakov made changes -
            Assignee Victor Dyakov [ vdyakov ] Sergey Bylokhov [ serb ]
            serb Sergey Bylokhov made changes -
            Status New [ 10000 ] Open [ 1 ]
            serb Sergey Bylokhov made changes -
            Labels 8-critical-watch macosx netbeans 8-defer-request macosx netbeans
            sfriberg Staffan Friberg (Inactive) made changes -
            Labels 8-defer-request macosx netbeans 8-defer-request macosx netbeans performance
            maxelsso Mathias Axelsson (Inactive) made changes -
            Labels 8-defer-request macosx netbeans performance 8-defer-approved macosx netbeans performance
            Fix Version/s 8u20 [ 16304 ]
            Fix Version/s 8 [ 11815 ]
            serb Sergey Bylokhov made changes -
            Labels 8-defer-approved macosx netbeans performance 8-defer-approved macosx netbeans performance retina
            serb Sergey Bylokhov made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Understanding Fix Understood [ 10001 ]
            vdyakov Victor Dyakov made changes -
            Fix Version/s 9 [ 14949 ]
            Fix Version/s 8u20 [ 16304 ]
            vdyakov Victor Dyakov made changes -
            Affects Version/s 9 [ 14949 ]
            vdyakov Victor Dyakov made changes -
            Link This issue backported by JDK-8058308 [ JDK-8058308 ]
            serb Sergey Bylokhov made changes -
            Link This issue relates to JDK-4834832 [ JDK-4834832 ]
            hgupdate HG Updates made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Understanding Fix Understood [ 10001 ]
            Resolved In Build team [ 17324 ]
            Resolution Fixed [ 1 ]
            serb Sergey Bylokhov made changes -
            Link This issue relates to JDK-8059944 [ JDK-8059944 ]
            serb Sergey Bylokhov made changes -
            Link This issue relates to JDK-8059942 [ JDK-8059942 ]
            serb Sergey Bylokhov made changes -
            Link This issue relates to JDK-8059943 [ JDK-8059943 ]
            serb Sergey Bylokhov made changes -
            Link This issue relates to JDK-8059941 [ JDK-8059941 ]
            hgupdate HG Updates made changes -
            Resolved In Build team [ 17324 ] master [ 18256 ]
            hgupdate HG Updates made changes -
            Resolved In Build master [ 18256 ] b38 [ 17359 ]
            vdyakov Victor Dyakov made changes -
            Labels 8-defer-approved macosx netbeans performance retina 8-defer-approved jdeveloper macosx netbeans performance retina
            vdyakov Victor Dyakov made changes -
            Labels 8-defer-approved jdeveloper macosx netbeans performance retina 7-bp 8-defer-approved jdeveloper macosx netbeans performance retina
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8067572 [ JDK-8067572 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8070060 [ JDK-8070060 ]
            hgupdate HG Updates made changes -
            Link This issue backported by JDK-8085136 [ JDK-8085136 ]

              People

              • Assignee:
                serb Sergey Bylokhov
                Reporter:
                saubrech Stanislav Aubrecht
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: