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

JDB hangs when running monitor command

XMLWordPrintable

    • b14

        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)

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

                Created:
                Updated:
                Resolved: