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

   > @luoyuan3471 1.The key to deadlock is that refresh thread can‘t acquire 
csqueue read lock. The read lock request is blocked by a write lock (as: 
https://bugs.openjdk.org/browse/JDK-6893626).so i use tryLock to break the 
condition.The PremmptionManager lock will be released soon after refresh thread 
gets csqueue read lock. 2.just preemption, but global scheduler increases the 
chance
   
   For 2, Why does Global Scheduler increase the chance of  this dead lock case?


-- 
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