diff src/share/vm/utilities/ostream.cpp @ 342:37f87013dfd8

6711316: Open source the Garbage-First garbage collector Summary: First mercurial integration of the code for the Garbage-First garbage collector. Reviewed-by: apetrusenko, iveresov, jmasa, sgoldman, tonyp, ysr
author ysr
date Thu, 05 Jun 2008 15:57:56 -0700
parents f96100ac3d12
children fab5f738c515
line wrap: on
line diff
--- a/src/share/vm/utilities/ostream.cpp	Wed Jun 04 13:51:09 2008 -0700
+++ b/src/share/vm/utilities/ostream.cpp	Thu Jun 05 15:57:56 2008 -0700
@@ -188,6 +188,17 @@
   print_raw(buf);
 }
 
+void outputStream::stamp(bool guard,
+                         const char* prefix,
+                         const char* suffix) {
+  if (!guard) {
+    return;
+  }
+  print_raw(prefix);
+  stamp();
+  print_raw(suffix);
+}
+
 void outputStream::date_stamp(bool guard,
                               const char* prefix,
                               const char* suffix) {