Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4224808

AWT deadlock on dual processor machine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.1.7
    • 1.1.7
    • client-libs
    • None
    • b04
    • generic
    • windows_nt

        Running application which uses AWT on a dual processor machine,
        after opening and closing the window several times (maybe 10 times)
        the application will eventually hang, usually in WGraphics.setColor(),
        (but sometimes in WGraphics.clipRect())
        Test case is attached.
        A thread dump follows:
        Full thread dump:
            "AWT-Finalizer" (TID:0xf9a670, sys_thread_t:0x8ade40, Win32ID:0x1bd, state:CW) prio=8
                java.lang.Object.wait(Compiled Code)
                sun.awt.AWTFinalizer.run(Compiled Code)
            "Screen Updater" (TID:0xf79bd8, sys_thread_t:0x899390, Win32ID:0x1af, state:CW) prio=4
                java.lang.Object.wait(Compiled Code)
                sun.awt.ScreenUpdater.nextEntry(Compiled Code)
                sun.awt.ScreenUpdater.run(Compiled Code)
            "AWT-Windows" (TID:0xf77250, sys_thread_t:0x898550, Win32ID:0xbe, state:R) prio=5
                sun.awt.windows.WToolkit.run(WToolkit.java:98)
                java.lang.Thread.run(Compiled Code)
            "AWT-EventQueue-0" (TID:0xf77328, sys_thread_t:0x89d8a0, Win32ID:0xda, state:R) prio=5
                sun.awt.windows.WGraphics.setColor(Compiled Code)
                sun.awt.windows.WComponentPeer.getGraphics(Compiled Code)
                java.awt.Component.getGraphics(Compiled Code)
                sun.awt.windows.WComponentPeer.handleEvent(Compiled Code)
                java.awt.Component.dispatchEventImpl(Compiled Code)
                java.awt.Container.dispatchEventImpl(Compiled Code)
                java.awt.Component.dispatchEvent(Compiled Code)
                java.awt.EventDispatchThread.run(Compiled Code)
            "TimerQueue" (TID:0xf74c38, sys_thread_t:0x8976f0, Win32ID:0x19c, state:CW) prio=5
                javax.swing.TimerQueue.run(Compiled Code)
                java.lang.Thread.run(Compiled Code)
            "Finalizer thread" (TID:0xf70088, sys_thread_t:0x887240, Win32ID:0x13e, state:CW) prio=2
            "main" (TID:0xf700b0, sys_thread_t:0x88f7d0, Win32ID:0x19a, state:CW) prio=5

        Monitor Cache Dump:
            sun.awt.AWTFinalizer@F9A670/FCE200: <unowned>
                Waiters: 1
            javax.swing.TimerQueue@F74C40/FC6178: <unowned>
                Waiters: 1
            sun.awt.windows.WPanelPeer@F8C020/100BAA8: owner "AWT-EventQueue-0" (0x89d8a0, 1 entry)
            sun.awt.ScreenUpdater@F79BD8/FDE1A0: <unowned>
                Waiters: 1
        Registered Monitor Dump:
            SymcJIT Method Monitor: <unowned>
            SymcJIT Method Monitor: <unowned>
            SymcJIT Method Monitor: <unowned>
            SymcJIT Method List Monitor: <unowned>
            SymcJIT Fixups Allocation: <unowned>
            SymcJIT Code Allocation: <unowned>
            SymcJIT Data Allocation: <unowned>
            Thread queue lock: <unowned>
                Waiters: 1
            Name and type hash table lock: <unowned>
            String intern lock: <unowned>
            JNI pinning lock: <unowned>
            JNI global reference lock: <unowned>
            BinClass lock: <unowned>
            Class loading lock: <unowned>
            Java stack lock: <unowned>
            Code rewrite lock: <unowned>
            Heap lock: <unowned>
            Has finalization queue lock: <unowned>
            Finalize me queue lock: <unowned>

              duke J. Duke
              duke J. Duke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: