<AWT Dev> sun.awt.X11.XEvent is creating 600 MB of char[] for no good reason

Federico federicotg at gmail.com
Fri Oct 21 19:30:32 PDT 2011


2011/10/21 Anthony Petrov <anthony.petrov at oracle.com>:
>
> Could you make a patch, test it, and post it to this mailing list for review
> please?
>

Here's a patch. I tried to follow the style used in other places where
one line if statements are used to avoid calling the logging code.

I hope the patch is acceptable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: XComponentPeer.patch
Type: text/x-patch
Size: 2609 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20111021/0377d133/XComponentPeer.patch 


More information about the awt-dev mailing list