DescriptionReland "[heap] Add page evacuation mode for new->new"
Adds an evacuation mode that allows moving pages within new space without
copying objects.
Basic idea:
a) Move page within new space
b) Sweep page to make iterable and process ArrayBuffers
c) Finish sweep till next scavenge
Threshold is currently 70% live bytes, i.e., the same threshold we use
to determine fragmented pages.
This reverts commit 2263ee9bf4e5aa341cbac547add68a2105963477.
BUG=chromium:581412
LOG=N
CQ_EXTRA_TRYBOTS=tryserver.v8:v8_linux_arm64_gc_stress_dbg,v8_linux_gc_stress_dbg,v8_mac_gc_stress_dbg,v8_linux64_tsan_rel,v8_mac64_asan_rel
Committed: https://crrev.com/7d5969da3d2b1a9b08c6fc6517d69f8ca4aca94c
Cr-Commit-Position: refs/heads/master@{#37104}
Patch Set 1 : base #Patch Set 2 : Avoid adding new pages for fragmented to space. Instead, force promotion. #
Total comments: 2
Patch Set 3 : Address comment #Patch Set 4 : Add test to test/cctest/BUILD.gn #
Messages
Total messages: 20 (10 generated)
|