<AWT Dev> [8] Request for review: 7149913 [macosx] Deadlock in LWTextComponentPeer

Sergey Bylokhov sergey.bylokhov at oracle.com
Thu Mar 22 07:05:09 PDT 2012

Hi Everyone,
This is a forward port from jdk 7u4:

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( 
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/

Best regards, Sergey.

More information about the awt-dev mailing list