[7u4] Request for review: 7124548 [macosx] Memory leak in JOptionPane.createDialog
Sergey Bylokhov
sergey.bylokhov at oracle.com
Wed Feb 29 09:48:05 PST 2012
29.02.2012 21:30, Artem Ananiev пишет:
> 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?
I assume that when we call the dispose on CGLayer and then call the
dispose on CFRetainedResource our native part of the layer is destroyed,
so it should be the bug if we use it in this case. Dmitry can correct
me if it not so.
> Thanks,
>
> Artem
>
> 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/
>>
--
Best regards, Sergey.
More information about the macosx-port-dev
mailing list