Prevent the debuggee from exiting too quickly by holding it at the breakpoint until the end of processing flag has been read by the main thread from the debugger process. Webrev: http://cr.openjdk.java.net/~gadams/8222741/webrev/ Issue: https://bugs.openjdk.java.net/browse/JDK-8222741