Reviewers: Hannes Payer,
Message:
Committed patchset #1 manually as r22019 (presubmit successful).
Description:
Collect garbage with kReduceMemoryFootprintMask in IdleNotification.
BUG=350720
LOG=Y
[email protected]
Committed: https://code.google.com/p/v8/source/detail?r=22019
Please review this at https://codereview.chromium.org/345263004/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files (+2, -1 lines):
M src/heap.cc
Index: src/heap.cc
diff --git a/src/heap.cc b/src/heap.cc
index
064ae39825ce8cfc5d87f9a23be958f319b79bd5..d4fc8fc0a9f537c287af1deae5fd2ddd2c981da1
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) {
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.