Commit 0fb4f6a2 authored by Michael Lippautz's avatar Michael Lippautz Committed by Commit Bot

[heap] Put print behind flag

Bug: chromium:863362
Change-Id: I88896d7477d893f1b7fae08f6dfd5709748a6edd
Reviewed-on: https://chromium-review.googlesource.com/1138080Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54461}
parent d5686a74
......@@ -277,9 +277,11 @@ void GCTracer::ResetIncrementalMarkingCounters() {
void GCTracer::Stop(GarbageCollector collector) {
start_counter_--;
if (start_counter_ != 0) {
heap_->isolate()->PrintWithTimestamp("[Finished reentrant %s during %s.]\n",
Heap::CollectorName(collector),
current_.TypeName(false));
if (FLAG_trace_gc_verbose) {
heap_->isolate()->PrintWithTimestamp(
"[Finished reentrant %s during %s.]\n",
Heap::CollectorName(collector), current_.TypeName(false));
}
return;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment