< prev index next >

src/share/vm/oops/generateOopMap.cpp

Print this page
rev 13113 : imported patch 8181917-refactor-ul-logstream

@@ -23,10 +23,11 @@
  */
 
 #include "precompiled.hpp"
 #include "interpreter/bytecodeStream.hpp"
 #include "logging/log.hpp"
+#include "logging/logStream.hpp"
 #include "oops/generateOopMap.hpp"
 #include "oops/oop.inline.hpp"
 #include "oops/symbol.hpp"
 #include "runtime/handles.inline.hpp"
 #include "runtime/java.hpp"

@@ -1252,14 +1253,14 @@
 
 }
 
 void GenerateOopMap::report_monitor_mismatch(const char *msg) {
   ResourceMark rm;
-  outputStream* out = Log(monitormismatch)::info_stream();
-  out->print("Monitor mismatch in method ");
-  method()->print_short_name(out);
-  out->print_cr(": %s", msg);
+  LogStream ls(Log(monitormismatch)::info());
+  ls.print("Monitor mismatch in method ");
+  method()->print_short_name(&ls);
+  ls.print_cr(": %s", msg);
 }
 
 void GenerateOopMap::print_states(outputStream *os,
                                   CellTypeState* vec, int num) {
   for (int i = 0; i < num; i++) {
< prev index next >