Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 1ba0f5006a5a7257810ab2472a4939067aa52c22..8db9c61a17c9a30d5b1f02e96244cc63be35ea94 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -3557,6 +3557,9 @@ TEST(ReleaseOverReservedPages) { |
// Concurrent sweeping adds non determinism, depending on when memory is |
// available for further reuse. |
i::FLAG_concurrent_sweeping = false; |
+ // Fast evacuation of pages may result in a different page count in old space. |
+ // Setting to 101% effectively disables this feature. |
+ i::FLAG_page_evacuation_threshold = 101; |
Hannes Payer (out of office)
2016/04/08 10:42:40
That is not very nice... should we introduce a sep
Michael Lippautz
2016/04/08 11:30:00
Done.
|
CcTest::InitializeVM(); |
Isolate* isolate = CcTest::i_isolate(); |
Factory* factory = isolate->factory(); |