-
Type:
Bug
-
Status: Resolved
-
Priority:
P4
-
Resolution: Fixed
-
Affects Version/s: 7
-
Fix Version/s: 8
-
Component/s: client-libs
-
Subcomponent:
-
Resolved In Build:b14
-
CPU:generic
-
OS:generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2216482 | 7u4 | Denis Fokin | P4 | Closed | Fixed | b06 |
The issue is related to 7104625.
WrapperGenerator is used to generate XEvent and its descendant classes. All of the generated classes contain a getFieldsAsString() method used to get their string representation. These methods use string concatenation with the "+" operator which leads to huge overhead in terms of memory usage.
WrapperGenerator is used to generate XEvent and its descendant classes. All of the generated classes contain a getFieldsAsString() method used to get their string representation. These methods use string concatenation with the "+" operator which leads to huge overhead in terms of memory usage.
- backported by
-
JDK-2216482 XAWT: Optimize getFieldsAsString() methods generated by WrapperGenerator
-
- Closed
-
- relates to
-
JDK-7104625 sun.awt.X11.XEvent is creating 600 MB of char[] for no good reason
-
- Resolved
-