changeset 8887:1e9e60a225a6

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 ede3202e00e0
children 3dcdb09c0af3 458f0d0809b9
files hotspot/src/share/vm/utilities/ostream.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/share/vm/utilities/ostream.cpp	Thu Mar 31 15:30:12 2011 -0700
+++ b/hotspot/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) {