| Index: src/heap/spaces-inl.h
|
| diff --git a/src/heap/spaces-inl.h b/src/heap/spaces-inl.h
|
| index 26d43a65d7699f02472a4b1e925d8bb8b66d77f1..1593ed87aee97a25a9ab7c0c71dab69053d6d052 100644
|
| --- a/src/heap/spaces-inl.h
|
| +++ b/src/heap/spaces-inl.h
|
| @@ -382,8 +382,10 @@ void Page::MarkEvacuationCandidate() {
|
| }
|
|
|
| void Page::ClearEvacuationCandidate() {
|
| - DCHECK_NULL(old_to_old_slots_);
|
| - DCHECK_NULL(typed_old_to_old_slots_);
|
| + if (!IsFlagSet(COMPACTION_WAS_ABORTED)) {
|
| + DCHECK_NULL(old_to_old_slots_);
|
| + DCHECK_NULL(typed_old_to_old_slots_);
|
| + }
|
| ClearFlag(EVACUATION_CANDIDATE);
|
| InitializeFreeListCategories();
|
| }
|
|
|