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)
|