-
Bug
-
Resolution: Not an Issue
-
P2
-
6u21, 7
-
x86
-
linux, windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2210288 | Pavel Porvatov | P3 | Closed | Not an Issue |
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.
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.
- backported by
-
JDK-2210288 Huge performance fallback with LTR/RTL chars in JEditorPane
- Closed
- duplicates
-
JDK-6982223 Performance fallback with LTR/RTL embedding handling
- Closed