| Index: src/heap/spaces.cc
|
| diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc
|
| index fea141601108241c25d607235a4ce5395e15693d..8069e51ce19b7b304926556216d53c5ea8f0818a 100644
|
| --- a/src/heap/spaces.cc
|
| +++ b/src/heap/spaces.cc
|
| @@ -1576,7 +1576,7 @@ void SemiSpace::SetUp(Address start, int initial_capacity, int target_capacity,
|
| address_mask_ = ~(maximum_capacity - 1);
|
| object_mask_ = address_mask_ | kHeapObjectTagMask;
|
| object_expected_ = reinterpret_cast<uintptr_t>(start) | kHeapObjectTag;
|
| - age_mark_ = start_;
|
| + age_mark_ = start_ + NewSpacePage::kObjectStartOffset;
|
| }
|
|
|
|
|
|
|