< prev index next >
src/share/vm/gc/cms/parNewGeneration.cpp
Print this page
rev 13105 : imported patch 8181917-refactor-ul-logstream-alt1-callsite-changes
*** 45,54 ****
--- 45,55 ----
#include "gc/shared/spaceDecorator.hpp"
#include "gc/shared/strongRootsScope.hpp"
#include "gc/shared/taskqueue.inline.hpp"
#include "gc/shared/workgroup.hpp"
#include "logging/log.hpp"
+ #include "logging/logStream.hpp"
#include "memory/resourceArea.hpp"
#include "oops/objArrayOop.hpp"
#include "oops/oop.inline.hpp"
#include "runtime/atomic.hpp"
#include "runtime/handles.hpp"
*** 405,415 ****
if (!log.is_debug()) {
return;
}
ResourceMark rm;
! outputStream* st = log.debug_stream();
print_termination_stats_hdr(st);
for (int i = 0; i < _num_threads; ++i) {
const ParScanThreadState & pss = thread_state(i);
--- 406,417 ----
if (!log.is_debug()) {
return;
}
ResourceMark rm;
! LogStream ls(log.debug());
! outputStream* st = &ls;
print_termination_stats_hdr(st);
for (int i = 0; i < _num_threads; ++i) {
const ParScanThreadState & pss = thread_state(i);
*** 433,443 ****
if (!log_develop_is_enabled(Trace, gc, task, stats)) {
return;
}
Log(gc, task, stats) log;
ResourceMark rm;
! outputStream* st = log.trace_stream();
print_taskqueue_stats_hdr(st);
TaskQueueStats totals;
for (int i = 0; i < _num_threads; ++i) {
const ParScanThreadState & pss = thread_state(i);
--- 435,446 ----
if (!log_develop_is_enabled(Trace, gc, task, stats)) {
return;
}
Log(gc, task, stats) log;
ResourceMark rm;
! LogStream ls(log.trace());
! outputStream* st = &ls;
print_taskqueue_stats_hdr(st);
TaskQueueStats totals;
for (int i = 0; i < _num_threads; ++i) {
const ParScanThreadState & pss = thread_state(i);
< prev index next >