我发现帖子Java 6 JVM Hang后面有一些类似的异常。没有死锁。但许多线程处于WAIT状态。堆栈跟踪如下。我的客户端JRE是1.6.0_18。
"Applet 1 LiveConnect Worker Thread" prio=4 tid=0x03382800 nid=0xe40 in Object.wait() [0x03acf000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x27f2b400> (a java.lang.Object)
at java.lang.Object.wait(Object.java:485)
at sun.plugin2.main.client.LiveConnectSupport$PerAppletInfo$LiveConnectWorker.run(Unknown Source)
- locked <0x27f2b400> (a java.lang.Object)
at java.lang.Thread.run(Unknown Source)
Locked ownable synchronizers:
- None
"Browser Side Object Cleanup Thread" prio=6 tid=0x03369800 nid=0x13b0 in Object.wait() [0x03a7f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x27f2b488> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x27f2b488> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at sun.plugin2.main.client.LiveConnectSupport$BrowserSideObjectCleanupThread.run(Unknown Source)
Locked ownable synchronizers:
- None
"Threaded tile loader thread #0" prio=4 tid=0x03437000 nid=0x3f8 in Object.wait() [0x04a6f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x284c4d10> (a ilog.views.tiling.IlvThreadedTileLoader)
at java.lang.Object.wait(Object.java:485)
at ilog.views.tiling.IlvThreadedTileLoader$TaskThread.run(Unknown Source)
- locked <0x284c4d10> (a ilog.views.tiling.IlvThreadedTileLoader)
Locked ownable synchronizers:
- None
"Threaded tile loader thread #0" prio=4 tid=0x04398400 nid=0x163c in Object.wait() [0x04a1f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x28489400> (a ilog.views.tiling.IlvThreadedTileLoader)
at java.lang.Object.wait(Object.java:485)
at ilog.views.tiling.IlvThreadedTileLoader$TaskThread.run(Unknown Source)
- locked <0x28489400> (a ilog.views.tiling.IlvThreadedTileLoader)
Locked ownable synchronizers:
- None
"AWT-EventQueue-1" prio=6 tid=0x03d14400 nid=0x154c in Object.wait() [0x0416f000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x27f30210> (a java.awt.EventQueue)
at java.lang.Object.wait(Object.java:485)
at java.awt.EventQueue.getNextEvent(Unknown Source)
- locked <0x27f30210> (a java.awt.EventQueue)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Locked ownable synchronizers:
- None
答案 0 :(得分:0)
你有线程等待ilog.views.tiling.IlvThreadedTileLoader
的实例,所以应该有一些其他线程在做notify
。没有看到代码就很难说更多。