# HG changeset patch # User never # Date 1329509890 28800 # Node ID 0c892974d26cc68ae1a711077a22721384d014ec # Parent 72249bf6ab8338dbcc7e0a2b2193ec7848bda350 7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread Reviewed-by: kvn diff -r 72249bf6ab83 -r 0c892974d26c hotspot/src/share/vm/utilities/events.hpp --- a/hotspot/src/share/vm/utilities/events.hpp Thu Feb 16 17:12:49 2012 -0800 +++ b/hotspot/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