8181917: Refactor UL LogStreams to avoid using resource area

Reviewed-by: ehelin, mlarsson
This commit is contained in:
Thomas Stuefe 2017-07-21 09:50:12 +02:00
parent 52ef49eef1
commit d12604111c
63 changed files with 662 additions and 508 deletions

View file

@ -206,7 +206,8 @@ void PSParallelCompact::print_region_ranges() {
}
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("------ ---------- ---------- ---------- ----------");
@ -2372,7 +2373,8 @@ void PSParallelCompact::write_block_fill_histogram()
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();