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

Issue 2721023004: [Android Crash Reporting] Mark mCancelUpload as volatile. (Closed)

Created:
3 years, 9 months ago by Ilya Sherman
Modified:
3 years, 9 months ago
Reviewers:
Tobias Sargeant, Torne
CC:
chromium-reviews, kalyank, sadrul, android-webview-reviews_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android Crash Reporting] Mark mCancelUpload as volatile. It is otherwise theoretically possible for the compiler to hoist the variable read out of the loop, which would cause updates sent by the writing thread to never be seen. BUG=694884 TEST=none R=tobiasjs@chromium.org Review-Url: https://codereview.chromium.org/2721023004 Cr-Commit-Position: refs/heads/master@{#454451} Committed: https://chromium.googlesource.com/chromium/src/+/37716386769b230a22b267a9789d68946b094552

Patch Set 1 #

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M components/minidump_uploader/android/java/src/org/chromium/components/minidump_uploader/MinidumpUploaderImpl.java View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (7 generated)
Ilya Sherman
3 years, 9 months ago (2017-03-01 00:15:50 UTC) #1
Tobias Sargeant
On 2017/03/01 00:15:50, Ilya Sherman wrote: LGTM. I think it's mostly a theoretical concern, but ...
3 years, 9 months ago (2017-03-02 12:30:21 UTC) #2
Torne
The description here is a bit weird and misleading, even though the use of volatile ...
3 years, 9 months ago (2017-03-02 14:11:19 UTC) #4
Ilya Sherman
On 2017/03/02 14:11:19, Torne wrote: > The description here is a bit weird and misleading, ...
3 years, 9 months ago (2017-03-02 17:35:27 UTC) #5
Torne
On 2017/03/02 17:35:27, Ilya Sherman wrote: > On 2017/03/02 14:11:19, Torne wrote: > > The ...
3 years, 9 months ago (2017-03-02 17:45:09 UTC) #6
Ilya Sherman
On 2017/03/02 17:45:09, Torne wrote: > On 2017/03/02 17:35:27, Ilya Sherman wrote: > > On ...
3 years, 9 months ago (2017-03-02 17:51:06 UTC) #7
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/2721023004/20001
3 years, 9 months ago (2017-03-02 23:35:10 UTC) #12
commit-bot: I haz the power
3 years, 9 months ago (2017-03-03 00:25:43 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/37716386769b230a22b267a9789d...

Powered by Google App Engine
This is Rietveld 408576698