7032849: 7022998 changes broke hs_err compile task print
authorkvn
Thu, 31 Mar 2011 16:54:27 -0700
changeset 8887 1e9e60a225a6
parent 8886 ede3202e00e0
child 8888 3dcdb09c0af3
child 9098 458f0d0809b9
7032849: 7022998 changes broke hs_err compile task print Summary: Initialize the time stamp on ostream used for hs_err dumping. Reviewed-by: never
hotspot/src/share/vm/utilities/ostream.cpp
--- 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) {