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

Issue 2912773002: Rename "NoBarrier" memory operations to "Relaxed". (Closed)

Created:
3 years, 6 months ago by ulan
Modified:
3 years, 6 months ago
CC:
v8-reviews_googlegroups.com, Hannes Payer (out of office), fmeawad, lpy+v8tracing_chromium.org, Yang, devtools-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

Rename "NoBarrier" memory operations to "Relaxed". This is consistent with C++ memory model and avoids confusion with GC write barrier. BUG= Review-Url: https://codereview.chromium.org/2912773002 Cr-Commit-Position: refs/heads/master@{#45584} Committed: https://chromium.googlesource.com/v8/v8/+/23cc6be3fcafecf491404e45bad167595b6a2342

Patch Set 1 #

Patch Set 2 : more #

Total comments: 4

Patch Set 3 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+240 lines, -254 lines) Patch
M src/base/atomic-utils.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/base/atomicops.h View 4 chunks +18 lines, -20 lines 0 comments Download
M src/base/atomicops_internals_atomicword_compat.h View 3 chunks +17 lines, -19 lines 0 comments Download
M src/base/atomicops_internals_portable.h View 6 chunks +18 lines, -20 lines 0 comments Download
M src/base/atomicops_internals_x86_msvc.h View 8 chunks +22 lines, -30 lines 0 comments Download
M src/compiler-dispatcher/optimizing-compile-dispatcher.h View 1 chunk +1 line, -1 line 0 comments Download
M src/d8.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/debug/debug.h View 2 chunks +2 lines, -2 lines 0 comments Download
M src/debug/debug.cc View 3 chunks +6 lines, -6 lines 0 comments Download
M src/execution.h View 1 chunk +6 lines, -6 lines 0 comments Download
M src/heap/concurrent-marking.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/heap/heap.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/heap/mark-compact.cc View 3 chunks +6 lines, -7 lines 0 comments Download
M src/heap/marking.h View 3 chunks +3 lines, -3 lines 0 comments Download
M src/heap/objects-visiting.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap/spaces.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/ic/ic-stats.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M src/inspector/v8-profiler-agent-impl.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/isolate.h View 4 chunks +7 lines, -7 lines 0 comments Download
M src/isolate.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M src/libplatform/tracing/tracing-controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M src/libsampler/sampler.h View 2 chunks +7 lines, -7 lines 0 comments Download
M src/libsampler/sampler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/log.cc View 6 chunks +9 lines, -9 lines 0 comments Download
M src/objects.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/objects-inl.h View 1 13 chunks +16 lines, -18 lines 0 comments Download
M src/objects/object-macros.h View 1 2 5 chunks +21 lines, -18 lines 0 comments Download
M src/objects/object-macros-undef.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
M src/profiler/cpu-profiler.h View 1 chunk +1 line, -1 line 0 comments Download
M src/profiler/cpu-profiler.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/profiler/unbound-queue-inl.h View 1 chunk +1 line, -1 line 0 comments Download
M src/tracing/trace-event.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/v8threads.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M src/zone/accounting-allocator.cc View 4 chunks +10 lines, -10 lines 0 comments Download
M test/cctest/cctest.h View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/cctest.cc View 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/test-api.cc View 2 chunks +5 lines, -5 lines 0 comments Download
M test/cctest/test-atomicops.cc View 11 chunks +27 lines, -27 lines 0 comments Download

Messages

Total messages: 29 (15 generated)
ulan
ptal https://codereview.chromium.org/2912773002/diff/20001/src/base/atomicops.h File src/base/atomicops.h (right): https://codereview.chromium.org/2912773002/diff/20001/src/base/atomicops.h#newcode107 src/base/atomicops.h:107: void MemoryBarrier(); I will rename this in another ...
3 years, 6 months ago (2017-05-29 13:08:20 UTC) #4
Hannes Payer (out of office)
lgtm https://codereview.chromium.org/2912773002/diff/20001/src/objects/object-macros.h File src/objects/object-macros.h (right): https://codereview.chromium.org/2912773002/diff/20001/src/objects/object-macros.h#newcode83 src/objects/object-macros.h:83: #define RELAXED_SMI_ACCESSORS(holder, name, offset) \ Let's also add ...
3 years, 6 months ago (2017-05-29 13:12:39 UTC) #5
Hannes Payer (out of office)
lgtm lgtm https://codereview.chromium.org/2912773002/diff/20001/src/objects/object-macros.h File src/objects/object-macros.h (right): https://codereview.chromium.org/2912773002/diff/20001/src/objects/object-macros.h#newcode83 src/objects/object-macros.h:83: #define RELAXED_SMI_ACCESSORS(holder, name, offset) \ Let's also ...
3 years, 6 months ago (2017-05-29 13:12:39 UTC) #6
ulan
+jgruber for src/debug/* +kozyatinskiy@ for src/inspector/*
3 years, 6 months ago (2017-05-29 13:18:34 UTC) #8
kozy
Inspector lgtm
3 years, 6 months ago (2017-05-29 13:24:01 UTC) #9
jgruber
debug/ lgtm
3 years, 6 months ago (2017-05-29 13:33:51 UTC) #10
ulan
https://codereview.chromium.org/2912773002/diff/20001/src/objects/object-macros.h File src/objects/object-macros.h (right): https://codereview.chromium.org/2912773002/diff/20001/src/objects/object-macros.h#newcode83 src/objects/object-macros.h:83: #define RELAXED_SMI_ACCESSORS(holder, name, offset) \ On 2017/05/29 13:12:39, Hannes ...
3 years, 6 months ago (2017-05-29 13:41:06 UTC) #11
Michael Lippautz
On 2017/05/29 13:41:06, ulan wrote: > https://codereview.chromium.org/2912773002/diff/20001/src/objects/object-macros.h > File src/objects/object-macros.h (right): > > https://codereview.chromium.org/2912773002/diff/20001/src/objects/object-macros.h#newcode83 > ...
3 years, 6 months ago (2017-05-29 15:47:06 UTC) #16
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/2912773002/40001
3 years, 6 months ago (2017-05-29 16:34:44 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: v8_presubmit on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_presubmit/builds/41992)
3 years, 6 months ago (2017-05-29 16:37:33 UTC) #21
ulan
+mvstanton@ for ic/*
3 years, 6 months ago (2017-05-30 06:07:12 UTC) #23
mvstanton
lgtm
3 years, 6 months ago (2017-05-30 07:42:07 UTC) #24
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/2912773002/40001
3 years, 6 months ago (2017-05-30 07:42:55 UTC) #26
commit-bot: I haz the power
3 years, 6 months ago (2017-05-30 07:44:45 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/23cc6be3fcafecf491404e45bad167595b6...

Powered by Google App Engine
This is Rietveld 408576698