Index: src/heap/spaces-inl.h |
diff --git a/src/heap/spaces-inl.h b/src/heap/spaces-inl.h |
index 3023fbf51ead410fba6a14aaab99dff05e5acf61..9b5cafcc4fe92668476d73e52c896f2b841c8b16 100644 |
--- a/src/heap/spaces-inl.h |
+++ b/src/heap/spaces-inl.h |
@@ -25,6 +25,11 @@ void Bitmap::Clear(MemoryChunk* chunk) { |
chunk->ResetLiveBytes(); |
} |
+void Bitmap::SetAllBits(MemoryChunk* chunk) { |
+ Bitmap* bitmap = chunk->markbits(); |
+ for (int i = 0; i < bitmap->CellsCount(); i++) |
+ bitmap->cells()[i] = 0xffffffff; |
+} |
// ----------------------------------------------------------------------------- |
// PageIterator |