https://codereview.chromium.org/11415070/diff/1001/src/incremental-marking-inl.h File src/incremental-marking-inl.h (right):
https://codereview.chromium.org/11415070/diff/1001/src/incremental-marking-inl.h#newcode47 src/incremental-marking-inl.h:47: if (reinterpret_cast<Address>(slot) - reinterpret_cast<Address>(obj) We don't even need to record relocation slots when the slot is right of the bar, so we can early return with false in this case. Also, can we have the address computation trickery as a helper function in MemoryChunk. All the assertions could also go in there. For example with the following signature. bool MemoryChunk::IsAheadOfProgressBar(Object** slot); https://codereview.chromium.org/11415070/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
