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) On 2012/11/21 17:11:38, Michael Starzinger wrote:
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);
Done. https://codereview.chromium.org/11415070/ -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
