[7u4] Request for review: 7124548 [macosx] Memory leak in JOptionPane.createDialog

Artem Ananiev artem.ananiev at oracle.com
Wed Feb 29 09:30:02 PST 2012

Hi, Sergey,

the fix looks fine and harmless, but let me ask you anyway: if/how the 
CGLayer object is expected to be used after its dispose() method has 
been called?



On 2/29/2012 4:49 AM, Sergey Bylokhov wrote:
> Hi Everyone,
> It would be good to break connection to window peer when we dispose
> CGLayer. Because CGlayer can be used in the CGLSurfaceData which can be
> cached in BufferedContext.validatedSrcData.
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7124548
> Webrev can be found at: http://cr.openjdk.java.net/~serb/7124548/webrev.00/

More information about the macosx-port-dev mailing list