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

Issue 2002013002: [heap] Pass a force_promotion flag to the evacuation routine in the scavenger. (Closed)

Created:
4 years, 7 months ago by ahaas
Modified:
4 years, 7 months ago
Reviewers:
Michael Lippautz, ulan
CC:
Hannes Payer (out of office), ulan, 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] Pass a force_promotion flag to the evacuation routine in the scavenger. The {force_promotion} flag causes the scavenger to move an object to the old generation instead of to the other semi-space. We use the flag to force the promotion of objects which are referenced by code objects. R=ulan@chromium.org Committed: https://crrev.com/f2a7ba6449406d0b11a245aa1f5b4981265b6f20 Cr-Commit-Position: refs/heads/master@{#36443} Committed: https://crrev.com/7d3f9f13615af1c44b28caa62ea7c3a0a0f24c60 Cr-Commit-Position: refs/heads/master@{#36462}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Use the enum {PromotionMode} instead of a boolean flag. #

Total comments: 4

Patch Set 3 : #

Patch Set 4 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -62 lines) Patch
M src/heap/heap.h View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M src/heap/heap.cc View 1 2 3 2 chunks +7 lines, -4 lines 0 comments Download
M src/heap/scavenger.h View 1 2 chunks +9 lines, -5 lines 0 comments Download
M src/heap/scavenger.cc View 1 2 3 7 chunks +59 lines, -46 lines 0 comments Download
M src/heap/scavenger-inl.h View 1 3 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
ahaas
4 years, 7 months ago (2016-05-23 11:15:20 UTC) #1
ulan
Looks good. https://codereview.chromium.org/2002013002/diff/1/src/heap/heap.h File src/heap/heap.h (right): https://codereview.chromium.org/2002013002/diff/1/src/heap/heap.h#newcode305 src/heap/heap.h:305: bool force_promotion); Please make it an enum.
4 years, 7 months ago (2016-05-23 11:18:38 UTC) #2
ahaas
On 2016/05/23 at 11:18:38, ulan wrote: > Looks good. > > https://codereview.chromium.org/2002013002/diff/1/src/heap/heap.h > File src/heap/heap.h ...
4 years, 7 months ago (2016-05-23 12:39:20 UTC) #3
ulan
LGTM https://codereview.chromium.org/2002013002/diff/20001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2002013002/diff/20001/src/heap/heap.cc#newcode1679 src/heap/heap.cc:1679: this, reinterpret_cast<Address>(addr), FORCE_PROMOTION); Please add a comment why ...
4 years, 7 months ago (2016-05-23 13:04:22 UTC) #4
ahaas
https://codereview.chromium.org/2002013002/diff/20001/src/heap/heap.cc File src/heap/heap.cc (right): https://codereview.chromium.org/2002013002/diff/20001/src/heap/heap.cc#newcode1679 src/heap/heap.cc:1679: this, reinterpret_cast<Address>(addr), FORCE_PROMOTION); On 2016/05/23 at 13:04:22, ulan wrote: ...
4 years, 7 months ago (2016-05-23 13:31:48 UTC) #5
ahaas
4 years, 7 months ago (2016-05-23 13:31:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2002013002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2002013002/40001
4 years, 7 months ago (2016-05-23 13:32:01 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-23 14:01:25 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f2a7ba6449406d0b11a245aa1f5b4981265b6f20 Cr-Commit-Position: refs/heads/master@{#36443}
4 years, 7 months ago (2016-05-23 14:03:02 UTC) #12
Michael Lippautz
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/2007563004/ by mlippautz@chromium.org. ...
4 years, 7 months ago (2016-05-24 07:17:32 UTC) #13
ahaas
On 2016/05/24 at 07:17:32, mlippautz wrote: > A revert of this CL (patchset #3 id:40001) ...
4 years, 7 months ago (2016-05-24 07:38:14 UTC) #14
Michael Lippautz
On 2016/05/24 07:38:14, ahaas wrote: > On 2016/05/24 at 07:17:32, mlippautz wrote: > > A ...
4 years, 7 months ago (2016-05-24 07:57:32 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2002013002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2002013002/60001
4 years, 7 months ago (2016-05-24 08:09:04 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 7 months ago (2016-05-24 08:11:27 UTC) #19
commit-bot: I haz the power
4 years, 7 months ago (2016-05-24 08:13:54 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7d3f9f13615af1c44b28caa62ea7c3a0a0f24c60
Cr-Commit-Position: refs/heads/master@{#36462}

Powered by Google App Engine
This is Rietveld 408576698