Mercurial > hg > graal-compiler
diff src/share/vm/utilities/events.hpp @ 4951: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 | 09d00c18e323 |
children | d2a62e0f25eb |
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