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

Issue 677193002: - Use the simulator to do atomic operations that could also (Closed)

Created:
6 years, 1 month ago by Ivan Posva
Modified:
6 years, 1 month ago
Reviewers:
zra, koda
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Use the simulator to do atomic operations that could also be executed in generated code. R=koda@google.com, zra@google.com Committed: https://code.google.com/p/dart/source/detail?r=41332

Patch Set 1 #

Total comments: 19

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+392 lines, -55 lines) Patch
A runtime/CPPLINT.cfg View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/atomic.h View 1 3 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/atomic_android.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/atomic_linux.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/atomic_macos.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
A runtime/vm/atomic_simulator.h View 1 1 chunk +25 lines, -0 lines 0 comments Download
M runtime/vm/atomic_win.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/simulator_arm.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/simulator_arm.cc View 1 2 4 chunks +54 lines, -51 lines 0 comments Download
M runtime/vm/simulator_arm64.h View 1 4 chunks +41 lines, -2 lines 0 comments Download
M runtime/vm/simulator_arm64.cc View 1 2 3 chunks +105 lines, -0 lines 0 comments Download
M runtime/vm/simulator_mips.h View 1 3 chunks +40 lines, -1 line 0 comments Download
M runtime/vm/simulator_mips.cc View 1 2 3 chunks +101 lines, -0 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
Ivan Posva
6 years, 1 month ago (2014-10-24 23:38:11 UTC) #2
koda
First pass... https://codereview.chromium.org/677193002/diff/1/runtime/vm/atomic.h File runtime/vm/atomic.h (right): https://codereview.chromium.org/677193002/diff/1/runtime/vm/atomic.h#newcode20 runtime/vm/atomic.h:20: // NOTE: Not to be used for ...
6 years, 1 month ago (2014-10-27 14:05:11 UTC) #3
zra
https://codereview.chromium.org/677193002/diff/1/runtime/vm/simulator_arm.cc File runtime/vm/simulator_arm.cc (right): https://codereview.chromium.org/677193002/diff/1/runtime/vm/simulator_arm.cc#newcode1089 runtime/vm/simulator_arm.cc:1089: exclusive_access_state_[i].isolate = isolate; Should we assert here that exclusive_access_state_[i].addr ...
6 years, 1 month ago (2014-10-27 14:53:13 UTC) #4
Ivan Posva
https://codereview.chromium.org/677193002/diff/1/runtime/vm/atomic.h File runtime/vm/atomic.h (right): https://codereview.chromium.org/677193002/diff/1/runtime/vm/atomic.h#newcode20 runtime/vm/atomic.h:20: // NOTE: Not to be used for any atomic ...
6 years, 1 month ago (2014-10-27 17:58:24 UTC) #5
zra
https://codereview.chromium.org/677193002/diff/1/runtime/vm/simulator_arm.cc File runtime/vm/simulator_arm.cc (right): https://codereview.chromium.org/677193002/diff/1/runtime/vm/simulator_arm.cc#newcode1089 runtime/vm/simulator_arm.cc:1089: exclusive_access_state_[i].isolate = isolate; On 2014/10/27 17:58:24, Ivan Posva wrote: ...
6 years, 1 month ago (2014-10-27 18:09:18 UTC) #6
zra
lgtm
6 years, 1 month ago (2014-10-27 18:13:48 UTC) #7
koda
LGTM if you add comment and assert https://codereview.chromium.org/677193002/diff/1/runtime/vm/simulator_arm.cc File runtime/vm/simulator_arm.cc (right): https://codereview.chromium.org/677193002/diff/1/runtime/vm/simulator_arm.cc#newcode1147 runtime/vm/simulator_arm.cc:1147: // We ...
6 years, 1 month ago (2014-10-27 18:32:48 UTC) #8
Ivan Posva
https://codereview.chromium.org/677193002/diff/1/runtime/vm/simulator_arm.cc File runtime/vm/simulator_arm.cc (right): https://codereview.chromium.org/677193002/diff/1/runtime/vm/simulator_arm.cc#newcode1147 runtime/vm/simulator_arm.cc:1147: // We do not check for a reservation as ...
6 years, 1 month ago (2014-10-27 19:21:08 UTC) #9
Ivan Posva
6 years, 1 month ago (2014-10-27 19:21:43 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as r41332 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698