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

Issue 2408233004: [heap] Old-to-new pointer updates need atomic accessors. (Closed)

Created:
4 years, 2 months ago by Hannes Payer (out of office)
Modified:
4 years, 2 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] Old-to-new pointer updates need atomic accessors. This CL also introduces a NoBarrierAtomicValue with NoBarrier accessors. BUG=chromium:648568 Committed: https://crrev.com/10ffd2b111aff1e3a85a7eb61119c177086c15a0 Cr-Commit-Position: refs/heads/master@{#40213}

Patch Set 1 #

Total comments: 5

Patch Set 2 : comments #

Total comments: 2

Patch Set 3 : inline check #

Unified diffs Side-by-side diffs Delta from patch set Stats (+92 lines, -9 lines) Patch
M src/base/atomic-utils.h View 1 1 chunk +47 lines, -0 lines 0 comments Download
M src/heap/mark-compact.cc View 1 2 1 chunk +11 lines, -9 lines 0 comments Download
M test/unittests/base/atomic-utils-unittest.cc View 1 1 chunk +34 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
Michael Lippautz
Please add a simple unit test to atomic-utils-unittest.cc that checks that single-threaded initialization, SetValue, and ...
4 years, 2 months ago (2016-10-12 08:04:16 UTC) #5
ulan
https://codereview.chromium.org/2408233004/diff/1/src/base/atomic-utils.h File src/base/atomic-utils.h (right): https://codereview.chromium.org/2408233004/diff/1/src/base/atomic-utils.h#newcode57 src/base/atomic-utils.h:57: class NonAtomicValue { On 2016/10/12 08:04:15, Michael Lippautz wrote: ...
4 years, 2 months ago (2016-10-12 08:32:39 UTC) #6
Hannes Payer (out of office)
https://codereview.chromium.org/2408233004/diff/1/src/base/atomic-utils.h File src/base/atomic-utils.h (right): https://codereview.chromium.org/2408233004/diff/1/src/base/atomic-utils.h#newcode57 src/base/atomic-utils.h:57: class NonAtomicValue { On 2016/10/12 08:32:39, ulan wrote: > ...
4 years, 2 months ago (2016-10-12 11:27:45 UTC) #9
Michael Lippautz
lgtm https://codereview.chromium.org/2408233004/diff/20001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2408233004/diff/20001/src/heap/mark-compact.cc#newcode3652 src/heap/mark-compact.cc:3652: slot_reference = slot->Value(); nit: You can manually inline ...
4 years, 2 months ago (2016-10-12 11:36:17 UTC) #10
Hannes Payer (out of office)
https://codereview.chromium.org/2408233004/diff/20001/src/heap/mark-compact.cc File src/heap/mark-compact.cc (right): https://codereview.chromium.org/2408233004/diff/20001/src/heap/mark-compact.cc#newcode3652 src/heap/mark-compact.cc:3652: slot_reference = slot->Value(); On 2016/10/12 11:36:17, Michael Lippautz wrote: ...
4 years, 2 months ago (2016-10-12 11:38:23 UTC) #11
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/2408233004/40001
4 years, 2 months ago (2016-10-12 11:38:37 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-12 12:04:57 UTC) #17
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 12:05:09 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/10ffd2b111aff1e3a85a7eb61119c177086c15a0
Cr-Commit-Position: refs/heads/master@{#40213}

Powered by Google App Engine
This is Rietveld 408576698