From c266cd91e064a70c623ea36da7009479e7e5da2c Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Wed, 25 Jun 2014 15:29:58 +0000 Subject: [PATCH] Collect garbage with kReduceMemoryFootprintMask in IdleNotification. BUG=350720 LOG=Y TBR=hpayer@chromium.org Review URL: https://codereview.chromium.org/345263004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22019 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/heap.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/heap.cc b/src/heap.cc index 064ae39..d4fc8fc 100644 --- a/src/heap.cc +++ b/src/heap.cc @@ -4269,7 +4269,8 @@ void Heap::AdvanceIdleIncrementalMarking(intptr_t step_size) { isolate_->compilation_cache()->Clear(); uncommit = true; } - CollectAllGarbage(kNoGCFlags, "idle notification: finalize incremental"); + CollectAllGarbage(kReduceMemoryFootprintMask, + "idle notification: finalize incremental"); mark_sweeps_since_idle_round_started_++; gc_count_at_last_idle_gc_ = gc_count_; if (uncommit) { -- 2.7.4