# HG changeset patch # User never # Date 1329509890 28800 # Node ID 72c425c46102a0204285c1d84657aa2e80776f5c # Parent 9b8ce46870dfb4b4cd5bffea3e326bb6c763c3b4 7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread Reviewed-by: kvn diff -r 9b8ce46870df -r 72c425c46102 src/share/vm/utilities/events.hpp --- a/src/share/vm/utilities/events.hpp Thu Feb 16 17:12:49 2012 -0800 +++ b/src/share/vm/utilities/events.hpp Fri Feb 17 12:18:10 2012 -0800 @@ -95,7 +95,7 @@ } double fetch_timestamp() { - return tty->time_stamp().seconds(); + return os::elapsedTime(); } // move the ring buffer to next open slot and return the index of