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:
parent
b4a2f65624
commit
6d13610374
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user