changeset 2267:8010c8c623ac

7032849: 7022998 changes broke hs_err compile task print Summary: Initialize the time stamp on ostream used for hs_err dumping. Reviewed-by: never
author kvn
date Thu, 31 Mar 2011 16:54:27 -0700
parents 2a5104162671
children 6b9eb6d07c62 c2323e2ea62b
files src/share/vm/utilities/ostream.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/ostream.cpp	Thu Mar 31 15:30:12 2011 -0700
+++ b/src/share/vm/utilities/ostream.cpp	Thu Mar 31 16:54:27 2011 -0700
@@ -810,6 +810,8 @@
   _buffer = buffer;
   _buflen = buflen;
   _outer_stream = outer_stream;
+  // compile task prints time stamp relative to VM start
+  _stamp.update_to(1);
 }
 
 void staticBufferStream::write(const char* c, size_t len) {