Index: test/cctest/heap/test-lab.cc |
diff --git a/test/cctest/heap/test-lab.cc b/test/cctest/heap/test-lab.cc |
index bf4d3cc9990abc47a0019b44692770e4870f8fb2..5a0ff2fbc40f589e7015af8b50a6e44dc27d8ada 100644 |
--- a/test/cctest/heap/test-lab.cc |
+++ b/test/cctest/heap/test-lab.cc |
@@ -170,7 +170,7 @@ TEST(MergeSuccessful) { |
CcTest::InitializeVM(); |
Heap* heap = CcTest::heap(); |
const int kLabSize = 2 * KB; |
- Address base1 = AllocateLabBackingStore(heap, kLabSize); |
+ Address base1 = AllocateLabBackingStore(heap, 2 * kLabSize); |
Address limit1 = base1 + kLabSize; |
Address base2 = limit1; |
Address limit2 = base2 + kLabSize; |
@@ -226,7 +226,7 @@ TEST(MergeFailed) { |
CcTest::InitializeVM(); |
Heap* heap = CcTest::heap(); |
const int kLabSize = 2 * KB; |
- Address base1 = AllocateLabBackingStore(heap, kLabSize); |
+ Address base1 = AllocateLabBackingStore(heap, 3 * kLabSize); |
Address base2 = base1 + kLabSize; |
Address base3 = base2 + kLabSize; |