Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.9.1
-
Fix Version/s: 2.9.2
-
Component/s: Infrastructure: Test
-
Labels:None
-
Number of attachments :
Description
Patch 12651 (reverted by patch 12666) reintroduced portable native sync for the gtk peer AWT threading. It removed a syswrap hijack of 2 pthread calls which prevented deadlock in GTk code. This introduced an inefficiency in the way scheduled AWT threads, but this was better than a deadlock. We should re-apply 12651 but we can only do this if Classpath is rebuilt on the test infastructure machines with --enable-portable-native-sync on their configure scripts. More generally the test infrastructure machines should rebuild Classpath.
With Daniel's Classpath patch mechanism we should be able to enable portable native sync quite easily. We should schedule this for 2.9.2 as the pthread hijack fix is quite ugly and non-portable.