mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 23:04:50 +02:00
8150441: CompileTask::print_impl() is broken after JDK-8146905
Timestamps should be explicitly initialized. Reviewed-by: dholmes
This commit is contained in:
parent
7c3120b3da
commit
52c7cb7221
1 changed files with 4 additions and 0 deletions
|
@ -1121,6 +1121,10 @@ void VMError::report_and_die(int id, const char* message, const char* detail_fmt
|
|||
if (first_error_tid == -1 &&
|
||||
Atomic::cmpxchg_ptr(mytid, &first_error_tid, -1) == -1) {
|
||||
|
||||
// Initialize time stamps to use the same base.
|
||||
out.time_stamp().update_to(1);
|
||||
log.time_stamp().update_to(1);
|
||||
|
||||
_id = id;
|
||||
_message = message;
|
||||
_thread = thread;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue