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

Issue 2494723002: [heap] Record pretenuring feedback for moved pages (Closed)

Created:
4 years, 1 month ago by Michael Lippautz
Modified:
4 years, 1 month ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), ulan
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[heap] Record pretenuring feedback for moved pages Record feedback for moved pages. Aligns the behavior of the copying and moving evacuator. BUG=chromium:651354 Committed: https://crrev.com/5af14e24824676e2fbe68bac6500f05d3b20368a Cr-Commit-Position: refs/heads/master@{#40905}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Restructured to templates #

Patch Set 3 : Move DCHECKs closer to call site #

Patch Set 4 : Remove wrong DCHECK #

Total comments: 2

Patch Set 5 : Better DCHECK #

Total comments: 4

Patch Set 6 : Addressed comments #

Patch Set 7 : One more simplification #

Patch Set 8 : Fix comilaton issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -44 lines) Patch
M src/heap/heap-inl.h View 1 2 3 4 1 chunk +7 lines, -1 line 0 comments Download
M src/heap/mark-compact.h View 1 2 chunks +3 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 7 chunks +52 lines, -37 lines 0 comments Download
M src/heap/spaces.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/heap/spaces-inl.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -5 lines 0 comments Download

Messages

Total messages: 29 (18 generated)
Michael Lippautz
https://codereview.chromium.org/2494723002/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2494723002/diff/1/src/heap/mark-compact.cc#newcode3010 src/heap/mark-compact.cc:3010: success = collector_->VisitLiveObjects(page, &new_space_page_visitor, Measured the impact on ToT ...
4 years, 1 month ago (2016-11-10 14:06:02 UTC) #3
Michael Lippautz
As suggested offline, I restructured to using templates.
4 years, 1 month ago (2016-11-10 14:59:56 UTC) #4
ulan
lgtm
4 years, 1 month ago (2016-11-10 15:16:09 UTC) #5
Hannes Payer (out of office)
https://codereview.chromium.org/2494723002/diff/60001/src/heap/heap-inl.h File src/heap/heap-inl.h (left): https://codereview.chromium.org/2494723002/diff/60001/src/heap/heap-inl.h#oldcode634 src/heap/heap-inl.h:634: DCHECK(InFromSpace(object)); why do you have to remove this check? ...
4 years, 1 month ago (2016-11-10 15:52:27 UTC) #12
Michael Lippautz
https://codereview.chromium.org/2494723002/diff/60001/src/heap/heap-inl.h File src/heap/heap-inl.h (left): https://codereview.chromium.org/2494723002/diff/60001/src/heap/heap-inl.h#oldcode634 src/heap/heap-inl.h:634: DCHECK(InFromSpace(object)); On 2016/11/10 15:52:26, Hannes Payer wrote: > why ...
4 years, 1 month ago (2016-11-10 16:03:29 UTC) #13
Michael Lippautz
4 years, 1 month ago (2016-11-10 16:03:31 UTC) #14
Hannes Payer (out of office)
LGTM. With two more nits. https://codereview.chromium.org/2494723002/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2494723002/diff/80001/src/heap/mark-compact.cc#newcode1847 src/heap/mark-compact.cc:1847: static void Move(Page* page, ...
4 years, 1 month ago (2016-11-10 16:09:46 UTC) #17
Michael Lippautz
Thanks a lot https://codereview.chromium.org/2494723002/diff/80001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2494723002/diff/80001/src/heap/mark-compact.cc#newcode1847 src/heap/mark-compact.cc:1847: static void Move(Page* page, PagedSpace* new_owner ...
4 years, 1 month ago (2016-11-10 16:20:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2494723002/140001
4 years, 1 month ago (2016-11-10 16:42:05 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 1 month ago (2016-11-10 17:10:54 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:29:51 UTC) #29
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/5af14e24824676e2fbe68bac6500f05d3b20368a
Cr-Commit-Position: refs/heads/master@{#40905}

Powered by Google App Engine
This is Rietveld 408576698