diff --git a/hotspot/src/share/vm/utilities/events.hpp b/hotspot/src/share/vm/utilities/events.hpp index c0cf554bc83..5b64e0c5c4d 100644 --- a/hotspot/src/share/vm/utilities/events.hpp +++ b/hotspot/src/share/vm/utilities/events.hpp @@ -95,7 +95,7 @@ template 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