Search This Blog

Friday, July 10, 2020

Thread dump analysis case on weblogic..

First get the TDA or the visual vm plugin for TDA or that ibm thread analyzer...

Look for the worker threads .. for now leave daemon threads aside... 
Look for threads which are locking monitors and look for threads which are waiting for monitors...

If you find some concurrent util locks or synchronizers or abstract  queue syncronizers in the free monitors list.. 
i mean monitors are free but threads are waiting to acquire it... it means the jvm parameter is not enabled to print

  • ion -XX:+PrintConcurrentLock



Look here , there are no locks on monitors but still threads are waiting.. for monitors... that means the above parameter is not enabled...
Every object have monitors so that threads in queue can get lock on them and operate on them.. 

so ,here we need to enable parameters and find out which are these objects and who is acquiring the lock on them....





l

No comments:

Post a Comment