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

Huge performance fallback with LTR/RTL chars in JEditorPane

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux, windows_xp

      Backports

        Description

        There is huge performance fallback of JEditorPane display in the Java 1.6 against Java 1.5, if text contains LTR/RTL embedding chars.

        Steps to Reproduce:
          Just insert text to JEditorPane with LTR/RTL embedding chars. You can see example in the attached file.
          If you will try to remove LTR/RTL chars(you can uncomment line "txt=txt.replace(...)") then you can see what Java 1.6 works 38 times faster - 1 second, like Java 1.5.
          LTR/RTL chars: \u202a, \u202b, \u202c.

        Windows 1.5.0_22 : 531ms
        Windows 6u19 : 2994ms

        See the test case in attachment to this bug report.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                vikram Vikram Aroskar (Inactive)
                Reporter:
                mbykov Misha Bykov (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: