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

Issue 2304123003: [heap] Refactor incremental marking step. (Closed)

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

Description

[heap] Refactor incremental marking step. This patch - extracts the logic of keeping track of allocated bytes from the actual incremental marking step. - replaces OldSpaceStep with a check for incremental marking start. - removes the force_marking parameter of AdvanceIncrementalMarking. BUG=chromium:616434 LOG=NO Committed: https://crrev.com/eca8a5ebbdab6b3276fca3abead893fd721336a0 Cr-Commit-Position: refs/heads/master@{#39213}

Patch Set 1 #

Patch Set 2 : fixes #

Patch Set 3 : x #

Patch Set 4 : x #

Total comments: 2

Patch Set 5 : small fix #

Total comments: 2

Patch Set 6 : fix assert in SimulateIncrementalMarking #

Patch Set 7 : fix sweeping in test #

Patch Set 8 : another fix of the test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -172 lines) Patch
M src/heap/heap.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 3 chunks +12 lines, -7 lines 0 comments Download
M src/heap/incremental-marking.h View 1 4 chunks +8 lines, -24 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 chunks +76 lines, -107 lines 0 comments Download
M src/heap/incremental-marking-job.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M src/heap/memory-reducer.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M src/heap/spaces.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M test/cctest/heap/heap-utils.cc View 1 2 3 4 5 6 7 1 chunk +8 lines, -4 lines 0 comments Download
M test/cctest/heap/test-heap.cc View 1 2 3 4 5 12 chunks +22 lines, -17 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
ulan
ptal https://codereview.chromium.org/2304123003/diff/60001/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2304123003/diff/60001/src/heap/incremental-marking.cc#newcode1202 src/heap/incremental-marking.cc:1202: if (state_ == SWEEPING) { All changes below ...
4 years, 3 months ago (2016-09-02 12:59:40 UTC) #4
Michael Lippautz
lgtm % one comment https://codereview.chromium.org/2304123003/diff/60001/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2304123003/diff/60001/src/heap/incremental-marking.cc#newcode1202 src/heap/incremental-marking.cc:1202: if (state_ == SWEEPING) { ...
4 years, 3 months ago (2016-09-02 19:05:19 UTC) #5
ulan
https://codereview.chromium.org/2304123003/diff/80001/src/heap/spaces.cc File src/heap/spaces.cc (right): https://codereview.chromium.org/2304123003/diff/80001/src/heap/spaces.cc#newcode2498 src/heap/spaces.cc:2498: Heap::kNoGCFlags, kNoGCCallbackFlags, "old space step"); On 2016/09/02 19:05:19, Michael ...
4 years, 3 months ago (2016-09-05 08:02:23 UTC) #6
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/2304123003/80001
4 years, 3 months ago (2016-09-05 11:06:17 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/8038) v8_linux64_avx2_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-05 11:23:51 UTC) #10
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/2304123003/100001
4 years, 3 months ago (2016-09-06 12:38:21 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/8139) v8_linux64_avx2_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-06 12:56:36 UTC) #15
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/2304123003/120001
4 years, 3 months ago (2016-09-06 14:26:55 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_avx2_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_avx2_rel_ng/builds/8152) v8_linux64_avx2_rel_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
4 years, 3 months ago (2016-09-06 14:43:34 UTC) #20
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/2304123003/140001
4 years, 3 months ago (2016-09-06 14:55:14 UTC) #23
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 3 months ago (2016-09-06 15:28:59 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 15:29:29 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/eca8a5ebbdab6b3276fca3abead893fd721336a0
Cr-Commit-Position: refs/heads/master@{#39213}

Powered by Google App Engine
This is Rietveld 408576698