< prev index next >

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

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

@@ -201,11 +201,12 @@
   if (!log_develop_is_enabled(Trace, gc, compaction)) {
     return;
   }
   Log(gc, compaction) log;
   ResourceMark rm;
-  Universe::print_on(log.trace_stream());
+  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,11 +2368,12 @@
     return;
   }
 
   Log(gc, compaction) log;
   ResourceMark rm;
-  outputStream* out = log.trace_stream();
+  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 >