equal
deleted
inserted
replaced
2674 } |
2674 } |
2675 return false; // keep some compilers happy |
2675 return false; // keep some compilers happy |
2676 } |
2676 } |
2677 |
2677 |
2678 void G1CollectedHeap::print_heap_regions() const { |
2678 void G1CollectedHeap::print_heap_regions() const { |
2679 LogHandle(gc, heap, region) log; |
2679 Log(gc, heap, region) log; |
2680 if (log.is_trace()) { |
2680 if (log.is_trace()) { |
2681 ResourceMark rm; |
2681 ResourceMark rm; |
2682 print_regions_on(log.trace_stream()); |
2682 print_regions_on(log.trace_stream()); |
2683 } |
2683 } |
2684 } |
2684 } |
3110 |
3110 |
3111 void G1CollectedHeap::print_taskqueue_stats() const { |
3111 void G1CollectedHeap::print_taskqueue_stats() const { |
3112 if (!log_is_enabled(Trace, gc, task, stats)) { |
3112 if (!log_is_enabled(Trace, gc, task, stats)) { |
3113 return; |
3113 return; |
3114 } |
3114 } |
3115 LogHandle(gc, task, stats) log; |
3115 Log(gc, task, stats) log; |
3116 ResourceMark rm; |
3116 ResourceMark rm; |
3117 outputStream* st = log.trace_stream(); |
3117 outputStream* st = log.trace_stream(); |
3118 |
3118 |
3119 print_taskqueue_stats_hdr(st); |
3119 print_taskqueue_stats_hdr(st); |
3120 |
3120 |