Request for review: MACOSX_PORT-780: GUI app is stuck in i18n testing
Sergey Bylokhov
sergey.bylokhov at oracle.com
Fri Dec 23 05:50:08 PST 2011
Hi Everyone,
This is a fix for intermittent deadlock during peers initialization.
This happen when we get notifyreshape notification and in the same time
we try to set droptarget of the peer.
Thread 1: locks an AppKit thread, and then try to lock monitor on window
peer.
Thread 2: locks a monitor on window peer, and then try to lock AppKit
thread.
Synchronized methods were replaced with 2 locks.
Bug: http://java.net/jira/browse/MACOSX_PORT-780
Webrev can be found at: http://cr.openjdk.java.net/~serb/780/webrev.00/
--
Best regards, Sergey.
More information about the macosx-port-dev
mailing list