Description[heap] inline allocation steps refactor
Expose the steps for incremental marking and idle scavenge more directly in
NewSpace. Adjust the NewSpace and Heap interfaces to allow callers to be more
clear about how they are interacting with inline allocation steps. This refactor
prepares the ground for more consumers of inline allocation steps (e.g. sampling
heap profiler.)
R=hpayer@chromium.org
BUG=
Committed: https://crrev.com/7b704c4f9bb06386d1fb23d9593296bca9659415
Cr-Commit-Position: refs/heads/master@{#31814}
Patch Set 1 #
Total comments: 2
Patch Set 2 : generalize the step observer interface #
Total comments: 4
Patch Set 3 : Remove DisableInlineAllocationSteps function from cctest.h #Patch Set 4 : Add tests and comments #
Total comments: 2
Patch Set 5 : Use virtual functions instead of callbacks #
Total comments: 8
Patch Set 6 : address code-review comments #Patch Set 7 : Rebase #Patch Set 8 : fix -Wunused-variable error on Release builds #Patch Set 9 : prefer static cast over c-style cast #Patch Set 10 : work-around the requirements that set_limit needs to be aligned #
Messages
Total messages: 43 (11 generated)
|