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

Issue 1265443003: remove recursion from NewSpace::AllocateRaw* (Closed)

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

Description

remove recursion from NewSpace::AllocateRaw* The recursion between AllocateRaw* and SlowAllocateRaw makes incremental stepping very complicated. This patch removes the recursion. Follow-on patches will improve accounting of allocations done by incremental mark. See: https://codereview.chromium.org/1252053003/#msg5 BUG= R=hpayer@chromium.org Committed: https://crrev.com/7f2dc889d40ca70d2e38035cfb195763278b002a Cr-Commit-Position: refs/heads/master@{#29989}

Patch Set 1 #

Total comments: 15

Patch Set 2 : EnsureAllocation now guarantees that bump-pointer will succeed #

Total comments: 8

Patch Set 3 : address comments from the code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -32 lines) Patch
M src/heap/spaces.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/heap/spaces.cc View 1 2 2 chunks +26 lines, -17 lines 0 comments Download
M src/heap/spaces-inl.h View 1 2 2 chunks +22 lines, -13 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
ofrobots
5 years, 4 months ago (2015-07-29 21:53:30 UTC) #1
Hannes Payer (out of office)
Thanks for doing this cleanup! It is going in the right direction. I have a ...
5 years, 4 months ago (2015-07-30 10:38:25 UTC) #2
ofrobots
Done. https://codereview.chromium.org/1265443003/diff/1/src/heap/spaces-inl.h File src/heap/spaces-inl.h (right): https://codereview.chromium.org/1265443003/diff/1/src/heap/spaces-inl.h#newcode348 src/heap/spaces-inl.h:348: int filler_size = Heap::GetFillToAlign(allocation_info_.top(), alignment); On 2015/07/30 10:38:25, ...
5 years, 4 months ago (2015-07-30 20:26:17 UTC) #3
Hannes Payer (out of office)
I like it a lot, it is way simpler now! Looking almost good. A few ...
5 years, 4 months ago (2015-07-31 07:50:52 UTC) #4
ofrobots
Thanks for the review. I have addressed your comments. PTAL. https://codereview.chromium.org/1265443003/diff/20001/src/heap/spaces-inl.h File src/heap/spaces-inl.h (right): https://codereview.chromium.org/1265443003/diff/20001/src/heap/spaces-inl.h#newcode358 ...
5 years, 4 months ago (2015-07-31 13:47:39 UTC) #5
Hannes Payer (out of office)
Thanks! Way nicer now. LGTM
5 years, 4 months ago (2015-08-03 15:58:33 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265443003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265443003/40001
5 years, 4 months ago (2015-08-03 20:18:23 UTC) #8
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 4 months ago (2015-08-03 20:43:44 UTC) #9
commit-bot: I haz the power
5 years, 4 months ago (2015-08-03 20:44:05 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/7f2dc889d40ca70d2e38035cfb195763278b002a
Cr-Commit-Position: refs/heads/master@{#29989}

Powered by Google App Engine
This is Rietveld 408576698