Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Possible deadlock issues.

Pavan Kumar
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I am looking at an application, which hangs after a while. We have taken a thread dump, and I am trying to analyze the problem.

Unfortunately, I could not figure out very much out of the dump as my skills are a little inferior at the moment. But one thing that looks like causing the problem is the following thread dump. I see this multiple multiple times in the dump.

Here's the code fragment, that writes to the clients.

Upon looking at the javadoc for PrintWriter, I think using the following is better.

Actual thread dump is pretty long. Could you please suggest what steps should I take to be able to understand the problem better.

Thanks Very much,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic