Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(96)

Issue 1351983002: [heap] refactor inline allocation step code (Closed)

Created:
5 years, 3 months ago by ofrobots
Modified:
5 years, 3 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -20 lines) Patch
M src/heap/spaces.h View 1 2 1 chunk +9 lines, -0 lines 0 comments Download
M src/heap/spaces.cc View 3 chunks +13 lines, -20 lines 0 comments Download

Messages

Total messages: 11 (2 generated)
ofrobots
5 years, 3 months ago (2015-09-17 19:12:59 UTC) #1
Hannes Payer (out of office)
lgtm, just nits https://codereview.chromium.org/1351983002/diff/1/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1351983002/diff/1/src/heap/spaces.h#newcode2742 src/heap/spaces.h:2742: // allocation steps. `top` the address ...
5 years, 3 months ago (2015-09-21 07:48:11 UTC) #2
ofrobots
https://codereview.chromium.org/1351983002/diff/1/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1351983002/diff/1/src/heap/spaces.h#newcode2742 src/heap/spaces.h:2742: // allocation steps. `top` the address just past the ...
5 years, 3 months ago (2015-09-21 20:32:58 UTC) #3
Hannes Payer (out of office)
On 2015/09/21 20:32:58, ofrobots wrote: > https://codereview.chromium.org/1351983002/diff/1/src/heap/spaces.h > File src/heap/spaces.h (right): > > https://codereview.chromium.org/1351983002/diff/1/src/heap/spaces.h#newcode2742 > ...
5 years, 3 months ago (2015-09-22 07:50:52 UTC) #4
ofrobots
On 2015/09/22 07:50:52, Hannes Payer wrote: > On 2015/09/21 20:32:58, ofrobots wrote: > > https://codereview.chromium.org/1351983002/diff/1/src/heap/spaces.h ...
5 years, 3 months ago (2015-09-23 14:53:39 UTC) #5
Hannes Payer (out of office)
one more nit, lgtm, just go ahead and land it. https://codereview.chromium.org/1351983002/diff/20001/src/heap/spaces.h File src/heap/spaces.h (right): https://codereview.chromium.org/1351983002/diff/20001/src/heap/spaces.h#newcode2741 ...
5 years, 3 months ago (2015-09-24 10:58:08 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1351983002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1351983002/40001
5 years, 3 months ago (2015-09-24 17:54:07 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-24 18:22:15 UTC) #10
commit-bot: I haz the power
5 years, 3 months ago (2015-09-24 18:22:33 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/1c5e511dc20fc7ff5f5b29ab4157a2143a3d1ede
Cr-Commit-Position: refs/heads/master@{#30921}

Powered by Google App Engine
This is Rietveld 408576698