mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8181917: Refactor UL LogStreams to avoid using resource area
Reviewed-by: ehelin, mlarsson
This commit is contained in:
parent
52ef49eef1
commit
d12604111c
63 changed files with 662 additions and 508 deletions
|
@ -25,6 +25,7 @@
|
|||
#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"
|
||||
|
@ -1264,10 +1265,10 @@ void GenerateOopMap::do_exception_edge(BytecodeStream* itr) {
|
|||
|
||||
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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue