Review request for MACOSX_PORT-784: Program freeze when Swing is used with -XstartOnFirstThread (original) (raw)
Dmitry Cherepanov dmitry.cherepanov at oracle.com
Wed Jan 11 06:00:21 PST 2012
- Previous message: [REVIEW] Update paths in JavaAppLauncher.xcodeproj
- Next message: Review request for MACOSX_PORT-784: Program freeze when Swing is used with -XstartOnFirstThread
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [REVIEW] Update paths in JavaAppLauncher.xcodeproj
- Next message: Review request for MACOSX_PORT-784: Program freeze when Swing is used with -XstartOnFirstThread
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]