I used command jstack to dump threads of tomcat, and I found that 183
threads are blocked, why?
thread dump like this:
Deadlock Detection:
No deadlocks found.
Thread 2584: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be
imprecise)
- java.lang.Object.wait() @bci=2, line=485 (Compiled frame)
- org.apache.tomcat.util.net.JIoEndpoint$Worker.await() @bci=8, line=458
(Compiled frame)
- org.apache.tomcat.util.net.JIoEndpoint$Worker.run() @bci=11, line=484
(Interpreted frame)
- java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)
Thread 2583: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be
imprecise)
- java.lang.Object.wait() @bci=2, line=485 (Compiled frame)
- org.apache.tomcat.util.net.JIoEndpoint$Worker.await() @bci=8, line=458
(Compiled frame)
- org.apache.tomcat.util.net.JIoEndpoint$Worker.run() @bci=11, line=484
(Compiled frame)
- java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)
Thread 2572: (state = BLOCKED)
- java.lang.Object.wait(long) @bci=0 (Compiled frame; information may be
imprecise)
- java.lang.Object.wait() @bci=2, line=485 (Compiled frame)
- org.apache.tomcat.util.net.JIoEndpoint$Worker.await() @bci=8, line=458
(Compiled frame)
- org.apache.tomcat.util.net.JIoEndpoint$Worker.run() @bci=11, line=484
(Interpreted frame)
- java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)
...
thanks.