< prev index next >

src/share/vm/classfile/sharedPathsMiscInfo.cpp

Print this page
rev 13105 : imported patch 8181917-refactor-ul-logstream-alt1-callsite-changes

*** 25,34 **** --- 25,35 ---- #include "precompiled.hpp" #include "classfile/classLoader.hpp" #include "classfile/classLoaderData.inline.hpp" #include "classfile/sharedPathsMiscInfo.hpp" #include "logging/log.hpp" + #include "logging/logStream.hpp" #include "memory/allocation.inline.hpp" #include "memory/metaspaceShared.hpp" #include "memory/resourceArea.hpp" #include "runtime/arguments.hpp" #include "utilities/ostream.hpp"
*** 73,83 **** return false; } void SharedPathsMiscInfo::print_path(int type, const char* path) { ResourceMark rm; ! outputStream* out = Log(class, path)::info_stream(); switch (type) { case BOOT: out->print("Expecting BOOT path=%s", path); break; case NON_EXIST: --- 74,85 ---- return false; } void SharedPathsMiscInfo::print_path(int type, const char* path) { ResourceMark rm; ! LogStream ls(Log(class, path)::info()); ! outputStream* out = &ls; switch (type) { case BOOT: out->print("Expecting BOOT path=%s", path); break; case NON_EXIST:
< prev index next >