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

Issue 1441633002: Optimize MarkCompactCollector::ClearNonLiveReferences. (Closed)

Created:
5 years, 1 month ago by ulan
Modified:
5 years, 1 month 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

Optimize MarkCompactCollector::ClearNonLiveReferences. This splits the work to be done for dead and life maps and avoids unnecessary operations in the hot loop. Results for v8.infinite_scroll: Before: nonlive_refs len: 93 min: 0.0 max: 6.3 avg: 1.35268817204 [0,5[: 91 [5,10[: 2 After: nonlive_refs len: 91 min: 0.0 max: 4.2 avg: 0.968131868132 [0,5[: 91 BUG=chromium:554488 LOG=no Committed: https://crrev.com/ed357f9696f36a64f8457aa99c0269d6cdcc1ec4 Cr-Commit-Position: refs/heads/master@{#32042}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Address comment #

Patch Set 3 : #

Patch Set 4 : Fix assert #

Patch Set 5 : Correctly fix assertion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -11 lines) Patch
M src/heap/mark-compact.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 2 chunks +8 lines, -10 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
ulan
PTAL https://codereview.chromium.org/1441633002/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1441633002/diff/1/src/heap/mark-compact.cc#newcode2205 src/heap/mark-compact.cc:2205: ClearNonLivePrototypeTransitions(map); We don't need to compact prototype transitions ...
5 years, 1 month ago (2015-11-12 12:00:37 UTC) #2
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/1441633002/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1441633002/diff/1/src/heap/mark-compact.cc#newcode2203 src/heap/mark-compact.cc:2203: bool alive = !Marking::IsWhite(map_mark); Let's ask Marking::IsBlackOrGrey here ...
5 years, 1 month ago (2015-11-12 19:35:59 UTC) #3
ulan
https://codereview.chromium.org/1441633002/diff/1/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/1441633002/diff/1/src/heap/mark-compact.cc#newcode2203 src/heap/mark-compact.cc:2203: bool alive = !Marking::IsWhite(map_mark); On 2015/11/12 19:35:59, Hannes Payer ...
5 years, 1 month ago (2015-11-17 11:29:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441633002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441633002/20001
5 years, 1 month ago (2015-11-17 11:29:55 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_arm_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_arm_rel/builds/10203) v8_linux_mips64el_compile_rel on tryserver.v8 (JOB_FAILED, ...
5 years, 1 month ago (2015-11-17 11:31:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441633002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441633002/40001
5 years, 1 month ago (2015-11-17 12:10:24 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_dbg on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg/builds/10823)
5 years, 1 month ago (2015-11-17 12:13:53 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441633002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441633002/60001
5 years, 1 month ago (2015-11-17 12:16:54 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: v8_mac_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_mac_rel/builds/11923)
5 years, 1 month ago (2015-11-17 12:19:06 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1441633002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1441633002/80001
5 years, 1 month ago (2015-11-17 12:53:34 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-17 13:29:08 UTC) #23
commit-bot: I haz the power
5 years, 1 month ago (2015-11-17 13:29:28 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/ed357f9696f36a64f8457aa99c0269d6cdcc1ec4
Cr-Commit-Position: refs/heads/master@{#32042}

Powered by Google App Engine
This is Rietveld 408576698