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

Issue 2492263002: [heap] Add atomics to mark bit operations. (Closed)

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

Description

[heap] Add atomics to mark bit operations. BUG=chromium:694255 Review-Url: https://codereview.chromium.org/2492263002 Cr-Commit-Position: refs/heads/master@{#43679} Committed: https://chromium.googlesource.com/v8/v8/+/b643bb771303d33d1ab80577cc58106415df8c0e

Patch Set 1 #

Patch Set 2 : [heap] Benchmarking atomic ops. #

Patch Set 3 : add include #

Patch Set 4 : plain atomics #

Patch Set 5 : explicit type #

Patch Set 6 : use new atomics based on cast #

Patch Set 7 : explicit atomics #

Patch Set 8 : nobarrier for get #

Patch Set 9 : format #

Patch Set 10 : fixup missing call sites #

Total comments: 12

Patch Set 11 : rename #

Patch Set 12 : dcheck #

Total comments: 2

Patch Set 13 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -76 lines) Patch
M src/heap/incremental-marking.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M src/heap/mark-compact.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +38 lines, -28 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 3 4 5 6 7 8 9 10 5 chunks +12 lines, -8 lines 0 comments Download
M src/heap/mark-compact-inl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -4 lines 0 comments Download
M src/heap/marking.h View 1 2 3 4 5 6 7 8 9 10 11 12 6 chunks +108 lines, -32 lines 0 comments Download
M test/unittests/heap/marking-unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 40 (32 generated)
Hannes Payer (out of office)
This CL only changes the Marking and ObjectMarking operaters to be ATOMIC or NON_ATOMIC. The ...
3 years, 9 months ago (2017-03-06 13:35:08 UTC) #25
Michael Lippautz
https://codereview.chromium.org/2492263002/diff/170001/src/heap/mark-compact.h File src/heap/mark-compact.h (right): https://codereview.chromium.org/2492263002/diff/170001/src/heap/mark-compact.h#newcode50 src/heap/mark-compact.h:50: template <MarkBit::ModificationMode mod_mode = MarkBit::NON_ATOMIC, nit: Can you spell ...
3 years, 9 months ago (2017-03-06 13:52:54 UTC) #26
ulan
https://codereview.chromium.org/2492263002/diff/170001/src/heap/mark-compact.h File src/heap/mark-compact.h (right): https://codereview.chromium.org/2492263002/diff/170001/src/heap/mark-compact.h#newcode50 src/heap/mark-compact.h:50: template <MarkBit::ModificationMode mod_mode = MarkBit::NON_ATOMIC, On 2017/03/06 13:52:54, Michael ...
3 years, 9 months ago (2017-03-06 14:51:33 UTC) #27
Hannes Payer (out of office)
https://codereview.chromium.org/2492263002/diff/170001/src/heap/mark-compact.h File src/heap/mark-compact.h (right): https://codereview.chromium.org/2492263002/diff/170001/src/heap/mark-compact.h#newcode50 src/heap/mark-compact.h:50: template <MarkBit::ModificationMode mod_mode = MarkBit::NON_ATOMIC, On 2017/03/06 13:52:54, Michael ...
3 years, 9 months ago (2017-03-08 14:12:57 UTC) #28
ulan
lgtm https://codereview.chromium.org/2492263002/diff/210001/src/heap/marking.h File src/heap/marking.h (right): https://codereview.chromium.org/2492263002/diff/210001/src/heap/marking.h#newcode384 src/heap/marking.h:384: DCHECK(mode == MarkBit::ATOMIC || IsBlack(markbit)); STATIC_ASSERT(mode == MarkBit::NON_ATOMIC)
3 years, 9 months ago (2017-03-08 14:42:01 UTC) #29
Hannes Payer (out of office)
https://codereview.chromium.org/2492263002/diff/210001/src/heap/marking.h File src/heap/marking.h (right): https://codereview.chromium.org/2492263002/diff/210001/src/heap/marking.h#newcode384 src/heap/marking.h:384: DCHECK(mode == MarkBit::ATOMIC || IsBlack(markbit)); On 2017/03/08 14:42:01, ulan ...
3 years, 9 months ago (2017-03-08 15:55:00 UTC) #30
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/2492263002/230001
3 years, 9 months ago (2017-03-08 16:29:39 UTC) #37
commit-bot: I haz the power
3 years, 9 months ago (2017-03-08 16:31:24 UTC) #40
Message was sent while issue was closed.
Committed patchset #13 (id:230001) as
https://chromium.googlesource.com/v8/v8/+/b643bb771303d33d1ab80577cc58106415d...

Powered by Google App Engine
This is Rietveld 408576698