Request for review: MACOSX_PORT-780: GUI app is stuck in i18n testing

Alexander Potochkin Alexander.Potochkin at oracle.com
Fri Dec 23 06:48:35 PST 2011


Hello Sergey
> 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.

Looks good

Thanks
alexp

>
> Bug: http://java.net/jira/browse/MACOSX_PORT-780
> Webrev can be found at: http://cr.openjdk.java.net/~serb/780/webrev.00/
>



More information about the macosx-port-dev mailing list