Java线程转储:`WAITING(在对象监视器上)`行后面没有`wait on< 0x1234>`行

时间:2012-08-06 11:14:43

标签: multithreading jvm thread-dump

我的帖子TP-Processor27正在等待,告诉我一个线程转储。

通常WAITING (on object monitor)行会紧跟waiting on <0x09c34480>或类似的行。但不是在下面的转储中。在这种情况下,我可以知道等待的是哪个ID吗?

"TP-Processor27" daemon prio=10 tid=0x00002aab91c88800 nid=0x58d7 in Object.wait() [0x0000000050d01000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        at java.lang.Object.wait(Object.java:485)
        at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1104)
        - locked <0x00002aaaccce0150> (a org.apache.commons.pool.impl.GenericObjectPool$Latch)
        at org.apache.commons.dbcp.AbandonedObjectPool.borrowObject(AbandonedObjectPool.java:88)
        at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:115)
        at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1053)
[...]

"TP-Processor28" daemon prio=10 tid=0x00002aab91c8a000 nid=0x58d8 runnable [0x0000000050e03000]
   java.lang.Thread.State: RUNNABLE
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:129)
        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
[...]

1 个答案:

答案 0 :(得分:0)

似乎我看到了一个实际上没有问题的问题。