[OpenJDK 2D-Dev] Xrender GC leak fix
Clemens Eisserer
linuxhippy at gmail.com
Fri Nov 19 14:42:40 UTC 2010
Hi,
The XRender pipeline was leaking GCs which are generated on the java-side.
Instead of trying to clean it up at the java-level, I now simply use
Java_sun_java2d_x11_XSurfaceData_XCreateGC which sets the javaGC field
in xsdo,
which is already freed automatically at surface-dispose time.
Thanks, Clemens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcleak.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/2d-dev/attachments/20101119/8b6ebd85/gcleak.patch>
More information about the 2d-dev
mailing list