hotspot/src/share/vm/oops/generateOopMap.cpp
changeset 46701 f559541c0daa
parent 46630 75aa3e39d02c
equal deleted inserted replaced
46700:e097aad8f3f8 46701:f559541c0daa
    23  */
    23  */
    24 
    24 
    25 #include "precompiled.hpp"
    25 #include "precompiled.hpp"
    26 #include "interpreter/bytecodeStream.hpp"
    26 #include "interpreter/bytecodeStream.hpp"
    27 #include "logging/log.hpp"
    27 #include "logging/log.hpp"
       
    28 #include "logging/logStream.hpp"
    28 #include "oops/generateOopMap.hpp"
    29 #include "oops/generateOopMap.hpp"
    29 #include "oops/oop.inline.hpp"
    30 #include "oops/oop.inline.hpp"
    30 #include "oops/symbol.hpp"
    31 #include "oops/symbol.hpp"
    31 #include "prims/jvm.h"
    32 #include "prims/jvm.h"
    32 #include "runtime/handles.inline.hpp"
    33 #include "runtime/handles.inline.hpp"
  1262 
  1263 
  1263 }
  1264 }
  1264 
  1265 
  1265 void GenerateOopMap::report_monitor_mismatch(const char *msg) {
  1266 void GenerateOopMap::report_monitor_mismatch(const char *msg) {
  1266   ResourceMark rm;
  1267   ResourceMark rm;
  1267   outputStream* out = Log(monitormismatch)::info_stream();
  1268   LogStream ls(Log(monitormismatch)::info());
  1268   out->print("Monitor mismatch in method ");
  1269   ls.print("Monitor mismatch in method ");
  1269   method()->print_short_name(out);
  1270   method()->print_short_name(&ls);
  1270   out->print_cr(": %s", msg);
  1271   ls.print_cr(": %s", msg);
  1271 }
  1272 }
  1272 
  1273 
  1273 void GenerateOopMap::print_states(outputStream *os,
  1274 void GenerateOopMap::print_states(outputStream *os,
  1274                                   CellTypeState* vec, int num) {
  1275                                   CellTypeState* vec, int num) {
  1275   for (int i = 0; i < num; i++) {
  1276   for (int i = 0; i < num; i++) {