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

Issue 2735803005: [heap] Start concurrent marking simultaneously with incremental marking. (Closed)

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

Description

[heap] Start concurrent marking simultaneously with incremental marking. This patch hooks up concurrent marking (behind the flag) with the rest of the GC: 1. Incremental marking spawns concurrent marking task seeded with the root set. 2. Mark-compact waits for concurrent marking tasks to finish. 3. Scavenger does fast promotion if concurrent marking is pending. BUG=chromium:694255 Review-Url: https://codereview.chromium.org/2735803005 Cr-Commit-Position: refs/heads/master@{#44526} Committed: https://chromium.googlesource.com/v8/v8/+/3477957ecd2cc69a6a264938fe57618e69cad05c

Patch Set 1 #

Patch Set 2 : tweak #

Total comments: 10

Patch Set 3 : address comments #

Patch Set 4 : address comments #

Patch Set 5 : remove leftover #

Patch Set 6 : fix test #

Patch Set 7 : fix test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -17 lines) Patch
M src/flag-definitions.h View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M src/globals.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/concurrent-marking.h View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M src/heap/concurrent-marking.cc View 1 2 3 4 7 chunks +37 lines, -9 lines 0 comments Download
M src/heap/heap.h View 1 2 3 4 5 1 chunk +6 lines, -0 lines 0 comments Download
M src/heap/heap.cc View 1 2 3 4 5 2 chunks +7 lines, -4 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 3 4 5 2 chunks +10 lines, -0 lines 0 comments Download
M src/heap/mark-compact.h View 1 2 3 4 5 1 chunk +9 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 2 chunks +3 lines, -0 lines 0 comments Download
M test/cctest/heap/test-concurrent-marking.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
ulan
ptal
3 years, 9 months ago (2017-03-07 11:54:00 UTC) #2
Hannes Payer (out of office)
You also need to wait for the threads on isolate shutdown. LGTM https://codereview.chromium.org/2735803005/diff/20001/src/heap/concurrent-marking.h File src/heap/concurrent-marking.h ...
3 years, 9 months ago (2017-03-08 12:58:50 UTC) #3
Michael Lippautz
lgtm https://codereview.chromium.org/2735803005/diff/20001/src/heap/concurrent-marking.cc File src/heap/concurrent-marking.cc (right): https://codereview.chromium.org/2735803005/diff/20001/src/heap/concurrent-marking.cc#newcode99 src/heap/concurrent-marking.cc:99: double start_time_ms = heap_->MonotonicallyIncreasingTimeInMs(); nit: There's TimedScope in ...
3 years, 9 months ago (2017-03-08 19:14:34 UTC) #4
ulan
https://codereview.chromium.org/2735803005/diff/20001/src/heap/concurrent-marking.cc File src/heap/concurrent-marking.cc (right): https://codereview.chromium.org/2735803005/diff/20001/src/heap/concurrent-marking.cc#newcode99 src/heap/concurrent-marking.cc:99: double start_time_ms = heap_->MonotonicallyIncreasingTimeInMs(); On 2017/03/08 19:14:34, Michael Lippautz ...
3 years, 9 months ago (2017-03-10 16:45:27 UTC) #5
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/2735803005/80001
3 years, 9 months ago (2017-03-10 16:47:17 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux64_verify_csa_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux64_verify_csa_rel_ng/builds/2258) v8_win_nosnap_shared_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 9 months ago (2017-03-10 16:52:05 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/2735803005/100001
3 years, 8 months ago (2017-04-10 13:46:45 UTC) #13
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/2735803005/120001
3 years, 8 months ago (2017-04-10 13:54:35 UTC) #16
commit-bot: I haz the power
3 years, 8 months ago (2017-04-10 14:22:37 UTC) #19
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/3477957ecd2cc69a6a264938fe57618e69c...

Powered by Google App Engine
This is Rietveld 408576698