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

MBeans tab: JConsole deadlock

    Details

    • Subcomponent:
    • Resolved In Build:
      b69
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      Mustang b59 fastdebug

      ADDITIONAL OS VERSION INFORMATION :
      XP SP2

      A DESCRIPTION OF THE PROBLEM :
      Jconsole ran into a deadlock.

      Found one Java-level deadlock:
      =============================
      "Worker-MBeans-3912":
        waiting to lock monitor 0x00986594 (object 0x10516af8, a java.awt.Component$AW
      TTreeLock),
        which is held by "AWT-EventQueue-0"
      "AWT-EventQueue-0":
        waiting to lock monitor 0x0098652c (object 0x107718a8, a sun.tools.jconsole.in
      spector.XMBeanAttributes),
        which is held by "Worker-MBeans-3912"

      Java stack information for the threads listed above:
      ===================================================
      "Worker-MBeans-3912":
              at java.awt.Container.remove(Container.java:1159)
              - waiting to lock <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JTable.removeEditor(JTable.java:5620)
              at javax.swing.JTable.editingCanceled(JTable.java:4497)
              at sun.tools.jconsole.inspector.XTextFieldEditor.fireEditingCanceled(XTe
      xtFieldEditor.java:63)
              at sun.tools.jconsole.inspector.XTextFieldEditor.cancelCellEditing(XText
      FieldEditor.java:69)
              at sun.tools.jconsole.inspector.XMBeanAttributes.loadAttributes(XMBeanAt
      tributes.java:439)
              - locked <0x107718a8> (a sun.tools.jconsole.inspector.XMBeanAttributes)
              at sun.tools.jconsole.inspector.XSheet$XMBeanPane.load(XSheet.java:577)
              at sun.tools.jconsole.inspector.XSheet$XMBeanPane.setSelectedIndex(XShee
      t.java:558)
              at sun.tools.jconsole.inspector.XSheet$XMBeanPane.setSelectedIndex(XShee
      t.java:551)
              at sun.tools.jconsole.inspector.XSheet$1.run(XSheet.java:250)
              at sun.tools.jconsole.Worker.run(Worker.java:37)
      "AWT-EventQueue-0":
              at sun.tools.jconsole.inspector.XMBeanAttributes.getRowCount(XMBeanAttri
      butes.java:298)
              - waiting to lock <0x107718a8> (a sun.tools.jconsole.inspector.XMBeanAtt
      ributes)
              at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1691)
              at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)
              at javax.swing.JComponent.paintComponent(JComponent.java:710)
              at javax.swing.JComponent.paint(JComponent.java:975)
              at javax.swing.JComponent.paintChildren(JComponent.java:811)
              - locked <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JComponent.paint(JComponent.java:984)
              at javax.swing.JViewport.paint(JViewport.java:740)
              at javax.swing.JComponent.paintChildren(JComponent.java:811)
              - locked <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JComponent.paint(JComponent.java:984)
              at javax.swing.JComponent.paintChildren(JComponent.java:811)
              - locked <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JComponent.paint(JComponent.java:984)
              at javax.swing.JComponent.paintChildren(JComponent.java:811)
              - locked <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JComponent.paint(JComponent.java:984)
              at javax.swing.JComponent.paintChildren(JComponent.java:811)
              - locked <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JSplitPane.paintChildren(JSplitPane.java:1021)
              at javax.swing.JComponent.paint(JComponent.java:984)
              at javax.swing.JComponent.paintChildren(JComponent.java:811)
              - locked <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JComponent.paint(JComponent.java:984)
              at javax.swing.JComponent.paintChildren(JComponent.java:811)
              - locked <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JComponent.paint(JComponent.java:984)
              at javax.swing.JComponent.paintChildren(JComponent.java:811)
              - locked <0x10516af8> (a java.awt.Component$AWTTreeLock)
              at javax.swing.JComponent.paint(JComponent.java:984)
              at javax.swing.JComponent.paintToOffscreen(JComponent.java:5077)
              at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManag
      er.java:279)
              at javax.swing.RepaintManager.paint(RepaintManager.java:1079)
              at javax.swing.JComponent._paintImmediately(JComponent.java:5025)
              at javax.swing.JComponent.paintImmediately(JComponent.java:4843)
              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:688)

              at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:644)

              at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:6
      24)
              at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(System
      EventQueueUtilities.java:128)
              at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
              at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
              at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThre
      ad.java:273)
              at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.
      java:183)
              at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
      ad.java:173)
              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)

              at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)

              at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)

      Found 1 deadlock.



      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Hard to tell. I was on the mbeans tab and changed from the memory mbean to the next one.



      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            • Assignee:
              lmalvent Luis-Miguel Alventosa (Inactive)
              Reporter:
              gmanwanisunw Girish Manwani (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: