Tuesday, November 17, 2009

Great tools for resolving Java deadlock on Eclipse

We're in the midst of testing OEPE right now.

I encountered a deadlock issue with creating a lot of JSPs in a dynamic web project.

To diagnose the problem further I used 3 tools:

1) JRockit mission control
2) Sun's jstack.exe in the bin directory
3) Microsoft's process explorer

JRockit mission control comes with Jrockit in it's own directory under root. You launch it and can then attach it to a JRockit launched Eclipse instance with -Xmanagement

Jstack.exe is in the bin directory for Sun JDK 1.6. You can launch it on the command line by giving it the process ID of the Eclipse instance; easily gotten with process explorer.

Cool stuff.

No comments:

Exploring ELK (Elastic) Stack for hack-a-thon

At my current gig, our group finally got to do hack-a-thon week and I joined a team project that tied together a few of the technologies I&#...