我认为 jstack 应该提供线程优先级信息,但我得到的只是这个,例如......
Deadlock Detection:
No deadlocks found.
Thread 18668: (state = BLOCKED)
- java.lang.Thread.sleep(long) @bci=0 (Interpreted frame)
- sun.net.www.http.KeepAliveCache.run() @bci=3, line=149 (Interpreted frame)
- java.lang.Thread.run() @bci=11, line=662 (Interpreted frame)
Thread 1382: (state = IN_JAVA)
- java.nio.Bits.copyToArray(long, java.lang.Object, long, long, long) @bci=64, line=715 (Compiled frame; information may be imprecise)
如何找到线程优先级?
操作系统:Ubuntu 10.04.4
Java 1.6.0_26