<AWT Dev>  Review request for CR 7079254 Toolkit eventListener leaks memory
Sergey.Bylokhov at oracle.com
Fri Dec 21 07:15:43 PST 2012
It would be good to have appropriate testcase.
21.12.2012 16:50, Petr Pchelko wrote:
> Could you please review the fix for the issue
> 7079254 Toolkit eventListener leaks memory
> The webrev is available at:
> The LightweightDispatcher stored strong references to mouseEventTarget and targetLastEntered which were not cleaned up when the component is removed, which lead to a memory leak. The isCleaned field is added to be able to consume events which would be dispatched to a removed component if we did not clean up a reference to it.
> The fix testet on Windows and Mac on toy apps and automatic regression tests related to event dispatching, Component, Container, dnd and Mouse
> Best, Petr.
Best regards, Sergey.
More information about the awt-dev