7018387: Xrender pipeline may leak GC's
Reviewed-by: prr
This commit is contained in:
parent
763f890029
commit
3f1466e7d2
@ -479,8 +479,7 @@ public abstract class XRSurfaceData extends XSurfaceData {
|
|||||||
if (xrpipe == null) {
|
if (xrpipe == null) {
|
||||||
try {
|
try {
|
||||||
SunToolkit.awtLock();
|
SunToolkit.awtLock();
|
||||||
xgc = renderQueue.createGC(xid); // TODO: GC leak? where to
|
xgc = XCreateGC(getNativeOps());
|
||||||
// clean up?
|
|
||||||
|
|
||||||
xrpipe = new XRRenderer(maskBuffer.getMaskBuffer());
|
xrpipe = new XRRenderer(maskBuffer.getMaskBuffer());
|
||||||
xrtxpipe = new PixelToShapeConverter(xrpipe);
|
xrtxpipe = new PixelToShapeConverter(xrpipe);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user