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

Issue 2853323003: [heap] Prepare IncrementalMarking::VisitObject for concurrent marking. (Closed)

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

Description

[heap] Prepare IncrementalMarking::VisitObject for concurrent marking. Currently the VisitObject function iterates the object and then colors it black. This does not work well with concurrent marking. The function should instead first try to mark the object black and iterate its body only if the color transition succeeds. BUG=chromium:694255 Review-Url: https://codereview.chromium.org/2853323003 Cr-Commit-Position: refs/heads/master@{#45095} Committed: https://chromium.googlesource.com/v8/v8/+/00d1e2cf766f982f7e2b4841de82c2458d09c319

Patch Set 1 #

Total comments: 3

Patch Set 2 : rebase #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -5 lines) Patch
M src/heap/incremental-marking.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 2 chunks +12 lines, -5 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 13 (6 generated)
ulan
ptal
3 years, 7 months ago (2017-05-02 19:36:08 UTC) #3
Michael Lippautz
https://codereview.chromium.org/2853323003/diff/1/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2853323003/diff/1/src/heap/incremental-marking.cc#newcode814 src/heap/incremental-marking.cc:814: if (ObjectMarking::GreyToBlack<kAtomicity>(obj, marking_state(obj))) { GreyToWhite? Otherwise WhiteToGreyAndPush will be ...
3 years, 7 months ago (2017-05-03 07:51:49 UTC) #4
ulan
https://codereview.chromium.org/2853323003/diff/1/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2853323003/diff/1/src/heap/incremental-marking.cc#newcode814 src/heap/incremental-marking.cc:814: if (ObjectMarking::GreyToBlack<kAtomicity>(obj, marking_state(obj))) { On 2017/05/03 07:51:49, Michael Lippautz ...
3 years, 7 months ago (2017-05-03 09:03:54 UTC) #5
Hannes Payer (out of office)
lgtm
3 years, 7 months ago (2017-05-03 10:03:14 UTC) #6
Michael Lippautz
lgtm https://codereview.chromium.org/2853323003/diff/1/src/heap/incremental-marking.cc File src/heap/incremental-marking.cc (right): https://codereview.chromium.org/2853323003/diff/1/src/heap/incremental-marking.cc#newcode814 src/heap/incremental-marking.cc:814: if (ObjectMarking::GreyToBlack<kAtomicity>(obj, marking_state(obj))) { On 2017/05/03 09:03:54, ulan ...
3 years, 7 months ago (2017-05-03 10:05:39 UTC) #7
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/2853323003/40001
3 years, 7 months ago (2017-05-04 12:42:04 UTC) #10
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 13:11:53 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/00d1e2cf766f982f7e2b4841de82c2458d0...

Powered by Google App Engine
This is Rietveld 408576698