< prev index next >
src/share/vm/oops/generateOopMap.cpp
Print this page
rev 13180 : imported patch 8181917-refactor-ul-logstream
*** 23,32 ****
--- 23,33 ----
*/
#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 "prims/jvm.h"
#include "runtime/handles.inline.hpp"
*** 1253,1266 ****
}
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);
}
void GenerateOopMap::print_states(outputStream *os,
CellTypeState* vec, int num) {
for (int i = 0; i < num; i++) {
--- 1254,1267 ----
}
void GenerateOopMap::report_monitor_mismatch(const char *msg) {
ResourceMark rm;
! 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 >