Bug 48382 Deadlock running automated tests
I20031209 The automated tests for this build failed due to a deadlock. The stack trace is attached. All of the jobs involved are from the new marker view work. The problematic pattern is in Worker-4 and Worker-1, both of which are trying to join another job while owning an ILock. I recommend releasing the ILock before attempting to join the job.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/TableContentProvider.java
if (sortOrder != queues.getSorter()) {
						queues.setComparator(sortOrder);
					}
					int totalWork = totalWork();
					
					try {
						SubProgressMonitor sub = new SubProgressMonitor(monitor, 0);
						queues.refreshQueues(sub);
						
						uiJob.schedule();
						
						uiJob.join();
						
					} finally {
						lock.release();
					}
					
					
					
					int consumedUnits = uiJob.lastWorked * remainingWorkUnits / totalWork;
					monitor.worked(consumedUnits);
					remainingWorkUnits -= consumedUnits;
					
				} catch (InterruptedException e) {
					monitor.setCanceled(true);
				}
				
				if (!uiJob.controlExists) {
					break;
				}