yb12138 commented on PR #4726:
URL: https://github.com/apache/hadoop/pull/4726#issuecomment-1210219429

   @luoyuan3471 
   1.The key to deadlock is that the refresh thread can‘t acquire the csqueue 
read lock. beacuse it’s  read lock request is blocked by a write lock (as: 
https://bugs.openjdk.org/browse/JDK-6893626).so i use tryLock to break the 
conditions for deadlock.The PremmptionManager lock will be released soon after 
it gets csqueue read lock. 
   2.just preemption, but global scheduler increases the chance of deadlock


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to