Description[heap] refactor inline allocation step code
Once I improved byte accounting done for incremental mark in [1], there is some
code duplication that becomes apparent. This commit refactors the duplicated
code into a private method on NewSpace. This also makes it easy to add new
consumers of inline allocation steps in the future.
[1] https://codereview.chromium.org/1274453002/
R=hpayer@chromium.org
BUG=
Committed: https://crrev.com/1c5e511dc20fc7ff5f5b29ab4157a2143a3d1ede
Cr-Commit-Position: refs/heads/master@{#30921}
Patch Set 1 #
Total comments: 4
Patch Set 2 : fix nits from the code review #
Total comments: 1
Patch Set 3 : fix the additional nit #
Messages
Total messages: 11 (2 generated)
|