[8] Request for review: 7149913 [macosx] Deadlock in LWTextComponentPeer (original) (raw)
Anthony Petrov anthony.petrov at oracle.com
Fri Mar 23 05:17:52 PDT 2012
- Previous message: [8] Request for review: 7149913 [macosx] Deadlock in LWTextComponentPeer
- Next message: [8] Request for review: 7149913 [macosx] Deadlock in LWTextComponentPeer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fine with me.
-- best regards, Anthony
On 3/22/2012 6:05 PM, Sergey Bylokhov wrote:
Hi Everyone, This is a forward port from jdk 7u4: http://hg.openjdk.java.net/jdk7u/jdk7u4-dev/jdk/rev/91ede930328c
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/viewbug.do?bugid=7149913 Webrev can be found at: http://cr.openjdk.java.net/~serb/7149913/webrev.00/
- Previous message: [8] Request for review: 7149913 [macosx] Deadlock in LWTextComponentPeer
- Next message: [8] Request for review: 7149913 [macosx] Deadlock in LWTextComponentPeer
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]