2cb540bf51
This undoes some of the previous change. In particular, calling something that could affect a NodeAvailabilityMonitor's lock (eg in canTake or the init methods in createExecutorWorkersOnNode) can deadlock on trying to obtain the Queue lock while holding the GearmanProxy lock. Instead, lock on just the handle lists where necessary, and try to do serious work outside of that lock. Change-Id: I4c1ed6c7a4f5586c1034651a649bbbd420eacdd7 |
||
---|---|---|
.. | ||
main | ||
test/java/hudson/plugins/gearman |