Reviewers: Hannes Payer,

Message:
PTAL

Description:
Filter invalid slots out from the SlotsBuffer after marking.

There are two reasons that could cause invalid slots appearance in SlotsBuffer: 1) If GC trims "tail" of an array for which it has already recorded a slots and
then migrate another object to the "tail".
2) Tagged slot could become a double slot after migrating of an object to
another map with "shifted" fields (for example as a result of generalizing
immutable data property to a data field).

This CL also adds useful machinery that helps triggering incremental write
barriers.

BUG=chromium:454297
LOG=Y

Please review this at https://codereview.chromium.org/1010363005/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+400, -32 lines):
  M src/flag-definitions.h
  M src/heap/mark-compact.h
  M src/heap/mark-compact.cc
  M src/heap/spaces.h
  M src/heap/store-buffer.cc
  M test/cctest/test-unboxed-doubles.cc


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to