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
This commit is contained in:
parent
eaca750b29
commit
c266cd91e0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user