/** * Kill the child process * * @param dumpStacksBefore whether to wait a little before killing the task * @throws InterruptedException * @throws IOException */ public void kill(boolean dumpStacksBefore) throws IOException, InterruptedException { killed = true; jvmManager.taskKilled(this, dumpStacksBefore); signalDone(); }
/** Kill the child process */ public void kill() { killed = true; jvmManager.taskKilled(this); signalDone(); }