8176140: 8176140-Crashes-or-timeouts-during-error-reporting-may-lead-to-infinitely-repeated-error-logs-until-ErrorLogTimeout-is-hit

Reviewed-by: cjplummer, dholmes
This commit is contained in:
Thomas Stuefe 2017-03-08 19:25:15 +01:00
parent 6fdf396624
commit 5806258936

@ -1323,6 +1323,7 @@ void VMError::report_and_die(int id, const char* message, const char* detail_fmt
}
report(&log, true);
log_done = true;
_current_step = 0;
_current_step_info = "";
@ -1343,7 +1344,6 @@ void VMError::report_and_die(int id, const char* message, const char* detail_fmt
}
log.set_fd(-1);
log_done = true;
}
static bool skip_replay = ReplayCompiles; // Do not overwrite file during replay