changeset 3387:72c425c46102

7146729: nightly failure after 7141200: tty is sometimes null during shutdown of main thread Reviewed-by: kvn
author never
date Fri, 17 Feb 2012 12:18:10 -0800
parents 9b8ce46870df
children 15085a6eb50c
files src/share/vm/utilities/events.hpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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