Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Unified Diff: src/heap/heap.cc

Issue 2319683002: [heap] Fixes for heap testing (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.cc
diff --git a/src/heap/heap.cc b/src/heap/heap.cc
index ad8d1466b92d8d6c43167914f395c6a8dc7394a2..fb5a4fb03cfae9a9c62dc44e788400dd8bbd27b6 100644
--- a/src/heap/heap.cc
+++ b/src/heap/heap.cc
@@ -5055,7 +5055,7 @@ bool Heap::ConfigureHeap(int max_semi_space_size, int max_old_space_size,
if (FLAG_stress_compaction) {
// This will cause more frequent GCs when stressing.
- max_semi_space_size_ = Page::kPageSize;
+ max_semi_space_size_ = MB;
}
// The new space size must be a power of two to support single-bit testing
« no previous file with comments | « no previous file | test/cctest/heap/test-heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698