mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 11:34:38 +02:00
7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread
Reviewed-by: kvn
This commit is contained in:
parent
867f3ba889
commit
0d25b8c4d5
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ template <class T> class EventLogBase : public EventLog {
|
||||||
}
|
}
|
||||||
|
|
||||||
double fetch_timestamp() {
|
double fetch_timestamp() {
|
||||||
return tty->time_stamp().seconds();
|
return os::elapsedTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
// move the ring buffer to next open slot and return the index of
|
// move the ring buffer to next open slot and return the index of
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue