7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread
authornever
Fri, 17 Feb 2012 12:18:10 -0800
changeset 11795 0c892974d26c
parent 11794 72249bf6ab83
child 11796 746c23c00fb5
7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread Reviewed-by: kvn
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