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

Issue 2863703004: [heap] Reland "Make non-atomic markbit operations consistent with atomic ones." (Closed)

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

Description

[heap] Reland "Make non-atomic markbit operations consistent with atomic ones." Now non-atomic color transition operations return a boolean indicating whether the transition succeeded or not. This allows to replace color check and transition operations with a single transition operation. For example: if (IsWhite(object)) { WhiteToBlack(object); Foo(); } becomes if (WhiteToBlack(object)) { Foo(); } BUG=chromium:694255 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_chromium_rel_ng Review-Url: https://codereview.chromium.org/2863703004 Cr-Commit-Position: refs/heads/master@{#45136} Committed: https://chromium.googlesource.com/v8/v8/+/db13d8014fa5a6281b78323aae3636d8b5355b67

Patch Set 1 #

Patch Set 2 : fix #

Patch Set 3 : fix dcheck #

Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -138 lines) Patch
M src/heap/heap.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M src/heap/incremental-marking.h View 3 chunks +11 lines, -6 lines 0 comments Download
M src/heap/incremental-marking.cc View 1 2 11 chunks +42 lines, -41 lines 0 comments Download
M src/heap/mark-compact.h View 2 chunks +2 lines, -9 lines 0 comments Download
M src/heap/mark-compact.cc View 9 chunks +40 lines, -59 lines 0 comments Download
M src/heap/mark-compact-inl.h View 1 chunk +2 lines, -6 lines 0 comments Download
M src/heap/marking.h View 4 chunks +13 lines, -14 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 11 (7 generated)
ulan
ptal, the fix is in diff between the patch sets.
3 years, 7 months ago (2017-05-05 12:00:21 UTC) #2
Michael Lippautz
lgtm
3 years, 7 months ago (2017-05-05 12:28:07 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/2863703004/40001
3 years, 7 months ago (2017-05-05 12:29:48 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-05 13:14:10 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/db13d8014fa5a6281b78323aae3636d8b53...

Powered by Google App Engine
This is Rietveld 408576698