java - Debugging ReentrantReadWriteLock Deadlock in Eclipse -


i've got application deadlocks (say once month).

right managed first time reproduce condition while running in eclipse debugger.

it seems if threads waiting writelock released.

what need way find out 1 (of 200) threads holding lock.

but pausing threads in eclipse , inspecting has yielded no results because eclipse tells me can't access variables want view because thread manually suspended.

i don't want restart application because don't know if can manage deadlock second time.

so find lock holder?

edit: i've tried jstack make me thread dump. can find threads waiting lock none holding it.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -