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

Issue 1265423002: Use idle task to perform incremental marking steps. (Closed)

Created:
5 years, 4 months ago by ulan
Modified:
5 years, 3 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

Use idle task to perform incremental marking steps. This moves incremental marking steps from gc-idle-time-handler and heap to the new incremental marking task. BUG=chromium:490559 LOG=NO Committed: https://crrev.com/057514d3fa79af4732e136f5daad4b805a65e569 Cr-Commit-Position: refs/heads/master@{#30641}

Patch Set 1 #

Patch Set 2 : Add test #

Patch Set 3 : Add tracing #

Total comments: 12

Patch Set 4 : Address comment #

Patch Set 5 : Rebase #

Patch Set 6 : Add delayed task #

Patch Set 7 : Extract incremental marking job into separate file #

Patch Set 8 : Fix test #

Total comments: 8

Patch Set 9 : Address Michael's comments #

Patch Set 10 : Add check to start #

Patch Set 11 : Fix test #

Patch Set 12 : Delete tasks in the test #

Patch Set 13 : More test fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+444 lines, -133 lines) Patch
M BUILD.gn View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap/gc-idle-time-handler.h View 1 2 3 4 6 chunks +3 lines, -18 lines 0 comments Download
M src/heap/gc-idle-time-handler.cc View 1 2 3 4 3 chunks +3 lines, -18 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 6 7 8 4 chunks +15 lines, -25 lines 0 comments Download
M src/heap/incremental-marking.h View 1 2 3 4 5 6 3 chunks +8 lines, -1 line 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download
A src/heap/incremental-marking-job.h View 1 2 3 4 5 6 7 8 9 1 chunk +81 lines, -0 lines 0 comments Download
A src/heap/incremental-marking-job.cc View 1 2 3 4 5 6 7 8 9 1 chunk +144 lines, -0 lines 0 comments Download
M src/v8.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/v8.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M test/cctest/cctest.gyp View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A test/cctest/test-incremental-marking.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +168 lines, -0 lines 0 comments Download
M test/unittests/heap/gc-idle-time-handler-unittest.cc View 1 2 3 4 6 chunks +7 lines, -71 lines 0 comments Download
M tools/gyp/v8.gyp View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (15 generated)
ulan
PTAL https://codereview.chromium.org/1265423002/diff/40001/src/heap/gc-idle-time-handler.h File src/heap/gc-idle-time-handler.h (left): https://codereview.chromium.org/1265423002/diff/40001/src/heap/gc-idle-time-handler.h#oldcode76 src/heap/gc-idle-time-handler.h:76: intptr_t parameter; This is gone because we estimate ...
5 years, 4 months ago (2015-08-05 11:11:59 UTC) #2
Hannes Payer (out of office)
LGTM, a few comments https://codereview.chromium.org/1265423002/diff/40001/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1265423002/diff/40001/src/heap/gc-idle-time-handler.cc#newcode249 src/heap/gc-idle-time-handler.cc:249: if (heap_state.incremental_marking_stopped) return GCIdleTimeAction::Done(); !FLAG_incremental_marking ...
5 years, 4 months ago (2015-08-05 12:35:44 UTC) #3
ulan
Thanks! https://codereview.chromium.org/1265423002/diff/40001/src/heap/gc-idle-time-handler.cc File src/heap/gc-idle-time-handler.cc (right): https://codereview.chromium.org/1265423002/diff/40001/src/heap/gc-idle-time-handler.cc#newcode249 src/heap/gc-idle-time-handler.cc:249: if (heap_state.incremental_marking_stopped) return GCIdleTimeAction::Done(); On 2015/08/05 12:35:44, Hannes ...
5 years, 4 months ago (2015-08-05 12:45:40 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265423002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265423002/60001
5 years, 4 months ago (2015-08-05 12:55:32 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-05 13:20:17 UTC) #8
ulan
Michael, could please take a look at incremental-marking-job.* files?
5 years, 3 months ago (2015-09-08 09:48:00 UTC) #10
Michael Lippautz
incremental-marking-job.* lgtm with one fix needed Can you add a test using your MockPlatform in ...
5 years, 3 months ago (2015-09-08 10:16:27 UTC) #11
ulan
Thank you! https://codereview.chromium.org/1265423002/diff/140001/src/heap/incremental-marking-job.cc File src/heap/incremental-marking-job.cc (right): https://codereview.chromium.org/1265423002/diff/140001/src/heap/incremental-marking-job.cc#newcode27 src/heap/incremental-marking-job.cc:27: made_progress_since_last_delayed_task_ = false; On 2015/09/08 10:16:26, Michael ...
5 years, 3 months ago (2015-09-08 11:34:53 UTC) #12
ulan
> Can you add a test using your MockPlatform in cctest/? There were test for ...
5 years, 3 months ago (2015-09-08 11:36:07 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265423002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265423002/180001
5 years, 3 months ago (2015-09-08 12:00:53 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_nodcheck_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_nodcheck_rel/builds/6383)
5 years, 3 months ago (2015-09-08 13:03:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265423002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265423002/200001
5 years, 3 months ago (2015-09-08 13:33:02 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/7820)
5 years, 3 months ago (2015-09-08 14:05:30 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265423002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265423002/220001
5 years, 3 months ago (2015-09-08 14:32:02 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_asan_rel on tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_asan_rel/builds/7828)
5 years, 3 months ago (2015-09-08 15:05:12 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265423002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265423002/240001
5 years, 3 months ago (2015-09-08 15:24:47 UTC) #31
commit-bot: I haz the power
Committed patchset #13 (id:240001)
5 years, 3 months ago (2015-09-08 15:54:34 UTC) #32
commit-bot: I haz the power
5 years, 3 months ago (2015-09-08 15:54:48 UTC) #33
Message was sent while issue was closed.
Patchset 13 (id:??) landed as
https://crrev.com/057514d3fa79af4732e136f5daad4b805a65e569
Cr-Commit-Position: refs/heads/master@{#30641}

Powered by Google App Engine
This is Rietveld 408576698