Index: src/heap/heap.cc |
diff --git a/src/heap/heap.cc b/src/heap/heap.cc |
index 8802266d985654b1e4792f5cddb6fafd409e32da..960096459e28170d608a2aac84d5c888ccc00d06 100644 |
--- a/src/heap/heap.cc |
+++ b/src/heap/heap.cc |
@@ -1158,7 +1158,9 @@ bool Heap::ReserveSpace(Reservation* reservations) { |
if (space == NEW_SPACE) { |
allocation = new_space()->AllocateRawUnaligned(size); |
} else { |
- allocation = paged_space(space)->AllocateRawUnaligned(size); |
+ // The deserializer will update the skip list. |
+ allocation = paged_space(space)->AllocateRawUnaligned( |
+ size, PagedSpace::IGNORE_SKIP_LIST); |
} |
HeapObject* free_space = nullptr; |
if (allocation.To(&free_space)) { |