< prev index next >

src/share/vm/gc/parallel/psParallelCompact.cpp

Print this page
rev 13113 : imported patch 8181917-refactor-ul-logstream

*** 201,211 **** if (!log_develop_is_enabled(Trace, gc, compaction)) { return; } Log(gc, compaction) log; ResourceMark rm; ! Universe::print_on(log.trace_stream()); log.trace("space bottom top end new_top"); log.trace("------ ---------- ---------- ---------- ----------"); for (unsigned int id = 0; id < last_space_id; ++id) { const MutableSpace* space = _space_info[id].space(); --- 201,212 ---- if (!log_develop_is_enabled(Trace, gc, compaction)) { return; } Log(gc, compaction) log; ResourceMark rm; ! LogStream ls(log.trace()); ! Universe::print_on(&ls); log.trace("space bottom top end new_top"); log.trace("------ ---------- ---------- ---------- ----------"); for (unsigned int id = 0; id < last_space_id; ++id) { const MutableSpace* space = _space_info[id].space();
*** 2367,2377 **** return; } Log(gc, compaction) log; ResourceMark rm; ! outputStream* out = log.trace_stream(); typedef ParallelCompactData::RegionData rd_t; ParallelCompactData& sd = summary_data(); for (unsigned int id = old_space_id; id < last_space_id; ++id) { --- 2368,2379 ---- return; } Log(gc, compaction) log; ResourceMark rm; ! LogStream ls(log.trace()); ! outputStream* out = &ls; typedef ParallelCompactData::RegionData rd_t; ParallelCompactData& sd = summary_data(); for (unsigned int id = old_space_id; id < last_space_id; ++id) {
< prev index next >