I am using an opensource tool called dimmunix to catch the deadlock sequence and in particular interested in creating a sequence of interleaving to create deadlock manually using jdb.If i am using java with dimmunix with -java agent option it is perfectly working fine.But whenever i am trying to run it with jdb -J-javaagent option it is throwing an exception i have a strong feeling that it is not relation to my application/tool,
Exception is
Exception in thread "launched target monitor" java.lang.IllegalMonitorStateException
at java.lang.UNIXProcess.waitFor(UNIXProcess.java:181)
at com.sun.tools.jdi.AbstractLauncher$Helper$1.run(AbstractLauncher.java:235)
Set uncaught java.lang.Throwable
Set deferred uncaught java.lang.Throwable
Can anyone help me out.