Index: src/incremental-marking-inl.h |
=================================================================== |
--- src/incremental-marking-inl.h (revision 9899) |
+++ src/incremental-marking-inl.h (working copy) |
@@ -96,6 +96,7 @@ |
Marking::BlackToGrey(mark_bit); |
int obj_size = obj->Size(); |
MemoryChunk::IncrementLiveBytes(obj->address(), -obj_size); |
+ bytes_scanned_ -= obj_size; |
int64_t old_bytes_rescanned = bytes_rescanned_; |
bytes_rescanned_ = old_bytes_rescanned + obj_size; |
if ((bytes_rescanned_ >> 20) != (old_bytes_rescanned >> 20)) { |