-1
我發現下面的文章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
第一步 - 確定可能導致此問題的代碼並將其提供給此處。 – Bozho 2010-01-22 08:34:40