Description[heap] Remove PromotionMode used by Scavenger
The scavenger should never consider mark bits for promotion/copy as this creates
weird livetimes at the start of incremental marking. E.g. consider an object
marked black by the marker at the start of incremental marking. A scavenge would
promote it to the old generation although it could --and for short-living
objects actually does-- become unreachable during marking
Also, keeping this invariant significantly simplifies young generation mark
compacting as we can compare against the scavenging decision without keeping
different sets of markbits.
BUG=chromium:651354
R=hpayer@chromium.org
Committed: https://crrev.com/f88fe51a00bb66d6e47e1e12193cb5125dfa63b1
Cr-Commit-Position: refs/heads/master@{#40026}
Patch Set 1 #Patch Set 2 : Remove introduced tests #
Messages
Total messages: 20 (15 generated)
|