Description[heap] Do not delay mark-compact by doing scavenge.
This hack is causing false "last-resort" garbage collections.
When incremental marking is in progress and overshoots the limit,
our heuristics in the allocator request finishing the mark-compact
because V8 is in optimize-for-memory mode.
However, the mark-compact gets replaced by scavenger which leads to
retrying the allocation two times and eventually doing last resort GC
(which throws away all the marking info).
BUG=chromium:697119
Review-Url: https://codereview.chromium.org/2723003003
Cr-Commit-Position: refs/heads/master@{#43554}
Committed: https://chromium.googlesource.com/v8/v8/+/af55a29706703121f83837d0c9020649bb9ec6ce
Patch Set 1 #
Messages
Total messages: 8 (4 generated)
|