- 
    Bug 
- 
    Resolution: Fixed
- 
     P4 P4
- 
    7
- 
        b14
- 
        generic
- 
        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
 
-