小程序挂起

发布于 2024-08-19 04:25:30 字数 3233 浏览 6 评论 0原文

我发现以下帖子 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

I found following post Java 6 JVM Hang with somewhat similar exception that am getting. There is no deadlock. But many threads are in WAIT state. Stack trace is as follows. My Client JRE is 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

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我恋#小黄人 2024-08-26 04:25:30

您有线程在等待 ilog.views.tiling.IlvThreadedTileLoader 实例,因此应该有一些其他线程在执行notify。在没有看到代码的情况下很难说更多。

You have threads waiting on instances of ilog.views.tiling.IlvThreadedTileLoader, so there should be some other threads doing notify. Hard to say more without seeing code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文