Home > Back-end >  On the stack holders of lock
On the stack holders of lock

Time:10-03

Recently met the application server cannot access problems, by grasping the stack, found in the application server used for processing the request threads are WAINTING or BLOCKED state, through the analysis of 45 thread calls ehcache get () function, get read lock (and have been WAITING, WAITING for A lock (assuming to lock A)), there are three thread calls the ehcache removeAll () function, access to write lock (also have been WAITING, WAITING for A lock), the blocking of the 48 thread resulted in the other thread,

And the only one in the whole of the stack parking waiting for A information, without any thread holds A lock, the problem is that lock A go to which, why all the thread can't get it?
The great god, please help!!!!!!

  • Related