[7u4] Request for review: 7149913 [macosx] Deadlock in LWTextComponentPeer

Alexander Potochkin Alexander.Potochkin at oracle.com
Sun Mar 11 10:04:00 PDT 2012


Hello Sergey

Looks good!

alexp
> Hi Everyone,
> Deadlock happens when 2 threads lock delegateLock and DefaultCaret 
> object in different order. Removed code initially was added to stop 
> recursion between paintPeer and addDirtyRegion( 
> repaintPeer()->paintPeer()->print()->addDirtyRegion()->repaintPeer()-> 
> etc), but it is impossible now because repaintPeer() asynchronous.
>
> Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7149913
> Webrev can be found at: 
> http://cr.openjdk.java.net/~serb/7149913/webrev.00/
>



More information about the macosx-port-dev mailing list