Commit f34937ca authored by Rodrigo Bruno's avatar Rodrigo Bruno Committed by Commit Bot

[heap] Avoid fast promotion print when the gc ignore scavenger is on.

Change-Id: Ia1b4aa36b828b5bd6273fc15381c666d23c5746b
Reviewed-on: https://chromium-review.googlesource.com/1085462Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Rodrigo Bruno <rfbpb@google.com>
Cr-Commit-Position: refs/heads/master@{#53497}
parent 137ff440
......@@ -2246,7 +2246,7 @@ void Heap::ComputeFastPromotionMode() {
!FLAG_optimize_for_size && FLAG_fast_promotion_new_space &&
!ShouldReduceMemory() && new_space_->IsAtMaximumCapacity() &&
survived_in_new_space >= kMinPromotedPercentForFastPromotionMode;
if (FLAG_trace_gc_verbose) {
if (FLAG_trace_gc_verbose && !FLAG_trace_gc_ignore_scavenger) {
PrintIsolate(
isolate(), "Fast promotion mode: %s survival rate: %" PRIuS "%%\n",
fast_promotion_mode_ ? "true" : "false", survived_in_new_space);
......
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