• mlippautz's avatar
    [heap] Remove PromotionMode used by Scavenger · f88fe51a
    mlippautz authored
    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
    
    Review-Url: https://codereview.chromium.org/2397713002
    Cr-Commit-Position: refs/heads/master@{#40026}
    f88fe51a
Name
Last commit
Last update
..
heap-tester.h Loading commit data...
heap-utils.cc Loading commit data...
heap-utils.h Loading commit data...
test-alloc.cc Loading commit data...
test-array-buffer-tracker.cc Loading commit data...
test-compaction.cc Loading commit data...
test-heap.cc Loading commit data...
test-incremental-marking.cc Loading commit data...
test-lab.cc Loading commit data...
test-mark-compact.cc Loading commit data...
test-page-promotion.cc Loading commit data...
test-spaces.cc Loading commit data...