• Dominik Inführ's avatar
    [heap] Add flag to promote young objects in MC · 13ddba2a
    Dominik Inführ authored
    Add FLAG_always_promote_young_mc that always promotes young objects
    during a Full GC when enabled. This flag guarantees that the young gen
    and the sweeping remembered set are empty after a full GC.
    
    This CL also makes use of the fact that the sweeping remembered set is
    empty and only invalidates an object when there were old-to-new slots
    recorded on its page.
    
    Bug: chromium:1014943
    Change-Id: Idfb13dfbe76bad5ec8b485a60bebc30531aec649
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1863201
    Commit-Queue: Dominik Inführ <dinfuehr@chromium.org>
    Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#64348}
    13ddba2a
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-concurrent-marking.cc Loading commit data...
test-embedder-tracing.cc Loading commit data...
test-external-string-tracker.cc Loading commit data...
test-heap.cc Loading commit data...
test-incremental-marking.cc Loading commit data...
test-invalidated-slots.cc Loading commit data...
test-iterators.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...
test-unmapper.cc Loading commit data...
test-weak-references.cc Loading commit data...