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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • 7u40, 8, 9
    • 9
    • client-libs
    • b38
    • 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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: