Thursday, April 18, 2013

Identifying deadlocks in your Eclipse RCP

Add following parameters in eclipse.ini file


-Dcom.sun.management.jmxremote.port=1436 <any free port>
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false


Open  JConsole.exe: which can found in the following directory
C:\Program Files (x86)\Java\jdk1.6.0_31\bin


Enter the remote host and port details:
localhost:1436

We can find the thread details in Thread section.




No comments:

Post a Comment