Review request for MACOSX_PORT-784: Program freeze when Swing is used with -XstartOnFirstThread
Dmitry Cherepanov
dmitry.cherepanov at oracle.com
Wed Jan 11 06:00:21 PST 2012
Hello,
Please review a fix for http://java.net/jira/browse/MACOSX_PORT-784 at
http://cr.openjdk.java.net/~dcherepanov/7128597/webrev.0/
To avoid the deadlock, the fix includes:
- the addition of +[NSThread isMainThread] to ensure that we don't call
-performSelectorOnMainThread: when the current thread is the AppKit thread
- also, the fix doesn't invoke the getCGLConfigInfo method on the queue
flusher thread - after the fix, the getCGLConfigInfo method is executed
on the current thread directly.
Thanks,
Dmitry
More information about the macosx-port-dev
mailing list