2

我的线程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)
[...]
4

1 回答 1

0

好像看到了一个实际没有问题的问题。

于 2012-09-04T09:25:09.373 回答