Chromium Code Reviews
DescriptionFix lazy sweeping for new marking bit clearing.
This cleans the semantics of the WAS_SWEPT_* page flags. Pages swept
precisely can be iterated, hitting only the live objects. Whereas those
swept conservatively cannot be iterated over. Both flags indicate that
marking bits have been cleared by the sweeper, otherwise marking bits
are still intact.
The actual fix is in SetPagesToSweep, which had a buggy iteration and
set the WAS_SWEPT_CONSERVATIVELY flag on too many pages. Another fix
is in EvacuateLiveObjectsFromPage which clears marking bits now.
R=erik.corry@gmail.com,vegorov@chromium.org
BUG=v8:1463
TEST=cctest/test-api/Threading
Committed: http://code.google.com/p/v8/source/detail?r=9011
Patch Set 1 #Patch Set 2 : Fix lazy sweeping for new marking bit clearing. #
Total comments: 2
Patch Set 3 : Addressed review by Erik Corry. #
Messages
Total messages: 6 (0 generated)
|
|||||||||||||||||||||||||||||||||||||