Index: test/cctest/heap/test-heap.cc |
diff --git a/test/cctest/heap/test-heap.cc b/test/cctest/heap/test-heap.cc |
index 81c4aed7036e82edd3f322dc03532b9c4e07bca0..da61f53242b3619b4dbfae42dd9fc7403b942cd3 100644 |
--- a/test/cctest/heap/test-heap.cc |
+++ b/test/cctest/heap/test-heap.cc |
@@ -5598,8 +5598,8 @@ UNINITIALIZED_TEST(Regress538257) { |
i::FLAG_manual_evacuation_candidates_selection = true; |
v8::Isolate::CreateParams create_params; |
// Set heap limits. |
- create_params.constraints.set_max_semi_space_size(1 * Page::kPageSize / MB); |
- create_params.constraints.set_max_old_space_size(6 * Page::kPageSize / MB); |
+ create_params.constraints.set_max_semi_space_size(1); |
+ create_params.constraints.set_max_old_space_size(6); |
create_params.array_buffer_allocator = CcTest::array_buffer_allocator(); |
v8::Isolate* isolate = v8::Isolate::New(create_params); |
isolate->Enter(); |