< prev index next >

src/cpu/sparc/vm/vm_version_sparc.cpp

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

*** 23,32 **** --- 23,33 ---- */ #include "precompiled.hpp" #include "asm/macroAssembler.inline.hpp" #include "logging/log.hpp" + #include "logging/logStream.hpp" #include "memory/resourceArea.hpp" #include "runtime/java.hpp" #include "runtime/os.hpp" #include "runtime/stubCodeGenerator.hpp" #include "vm_version_sparc.hpp"
*** 379,389 **** FLAG_SET_DEFAULT(UseUnalignedAccesses, false); } if (log_is_enabled(Info, os, cpu)) { ResourceMark rm; ! outputStream* log = Log(os, cpu)::info_stream(); log->print_cr("L1 data cache line size: %u", L1_data_cache_line_size()); log->print_cr("L2 data cache line size: %u", L2_data_cache_line_size()); log->print("Allocation"); if (AllocatePrefetchStyle <= 0) { log->print(": no prefetching"); --- 380,391 ---- FLAG_SET_DEFAULT(UseUnalignedAccesses, false); } if (log_is_enabled(Info, os, cpu)) { ResourceMark rm; ! LogStream ls(Log(os, cpu)::info()); ! outputStream* log = &ls; log->print_cr("L1 data cache line size: %u", L1_data_cache_line_size()); log->print_cr("L2 data cache line size: %u", L2_data_cache_line_size()); log->print("Allocation"); if (AllocatePrefetchStyle <= 0) { log->print(": no prefetching");
< prev index next >