Tune evacuation candidate selection.

This disables aggressive compaction for non-memory reducer GCs.

BUG=chromium:502247
LOG=NO

Review URL: https://codereview.chromium.org/1375703003

Cr-Commit-Position: refs/heads/master@{#31079}
This commit is contained in:
ulan 2015-10-02 08:13:09 -07:00 committed by Commit bot
parent b4a2f65624
commit 6d13610374

View File

@ -702,8 +702,7 @@ void MarkCompactCollector::CollectEvacuationCandidates(PagedSpace* space) {
int candidate_count = 0;
int total_live_bytes = 0;
bool reduce_memory =
heap()->ShouldReduceMemory() || heap()->HasLowAllocationRate();
bool reduce_memory = heap()->ShouldReduceMemory();
if (FLAG_manual_evacuation_candidates_selection) {
for (size_t i = 0; i < pages.size(); i++) {
Page* p = pages[i].second;