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

JDB hangs when running monitor command

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b14

      Backports

        Description

        In the jdb utility, if a monitor executes a command modifying the monitor list, the debugee hangs.

        Here's an example of the output in jdb, when a monitor command modifies the list of monitors:
        Exception in thread "event-handler"
        java.util.ConcurrentModificationException
        at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:859)
        at java.util.ArrayList$Itr.next(ArrayList.java:831)
        at com.sun.tools.example.debug.tty.TTY.vmInterrupted(TTY.java:202)
        at com.sun.tools.example.debug.tty.EventHandler.run(EventHandler.java:81)
        at java.lang.Thread.run(Thread.java:745)

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                igerasim Ivan Gerasimov
                Reporter:
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: