7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread

Reviewed-by: kvn
This commit is contained in:
Tom Rodriguez 2012-02-17 12:18:10 -08:00
parent 867f3ba889
commit 0d25b8c4d5

View File

@ -95,7 +95,7 @@ template <class T> class EventLogBase : public EventLog {
}
double fetch_timestamp() {
return tty->time_stamp().seconds();
return os::elapsedTime();
}
// move the ring buffer to next open slot and return the index of