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

Issue 143273005: Atomic ops cleanup. (Closed)

Created:
6 years, 10 months ago by cosmin.truta
Modified:
6 years, 10 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, c.truta, dvyukov
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Atomic ops cleanup. Use <stdint.h> instead of "base/basictypes.h". Put AtomicOps_Internalx86CPUFeaturesInit in the anonymous namespace. Fix formatting issues. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=249938

Patch Set 1 #

Patch Set 2 : Fix the Windows build #

Patch Set 3 : Same as before, but remove spurious #ifdef #

Patch Set 4 : More C++-style declarations #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -159 lines) Patch
M base/atomicops.h View 2 chunks +3 lines, -2 lines 0 comments Download
M base/atomicops_internals_mac.h View 13 chunks +21 lines, -21 lines 0 comments Download
M base/atomicops_internals_tsan.h View 1 2 3 2 chunks +115 lines, -119 lines 0 comments Download
M base/atomicops_internals_x86_gcc.cc View 4 chunks +17 lines, -17 lines 0 comments Download
M base/atomicops_internals_x86_msvc.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M base/threading/thread_collision_warner.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
cosmin.truta
This is a follow-up on issue 156233002. I cleaned up some of the surrounding code ...
6 years, 10 months ago (2014-02-06 01:38:25 UTC) #1
Mark Mentovai
You don’t have try server access. http://www.chromium.org/developers/testing/try-server-usage I submitted this to the try servers. I ...
6 years, 10 months ago (2014-02-06 03:04:13 UTC) #2
cosmin.truta
I see. Thank you.
6 years, 10 months ago (2014-02-06 03:20:03 UTC) #3
Mark Mentovai
The Windows trybots don’t seem to like this very much.
6 years, 10 months ago (2014-02-06 14:12:43 UTC) #4
cosmin.truta
On 2014/02/06 14:12:43, Mark Mentovai wrote: > The Windows trybots don’t seem to like this ...
6 years, 10 months ago (2014-02-06 15:27:04 UTC) #5
Mark Mentovai
Cosmin Truta wrote: > Indeed, and I am trying to understand why Atomic64 isn't as ...
6 years, 10 months ago (2014-02-06 16:22:54 UTC) #6
cosmin.truta
On 2014/02/06 16:22:54, Mark Mentovai wrote: > It’s because the implicated line is > COMPILE_ASSERT(sizeof(Atomic64) ...
6 years, 10 months ago (2014-02-06 19:03:50 UTC) #7
Mark Mentovai
Let’s feed it to the bots again and see what happens.
6 years, 10 months ago (2014-02-06 19:46:55 UTC) #8
cosmin.truta
+glider, +leng for TSan and Mac. I kept the C style (Type *arg) in the ...
6 years, 10 months ago (2014-02-07 01:26:10 UTC) #9
Alexander Potapenko
On 2014/02/07 01:26:10, cosmin.truta wrote: > +glider, +leng for TSan and Mac. > > I ...
6 years, 10 months ago (2014-02-07 08:55:23 UTC) #10
Alexander Potapenko
CC=dvyukov > I'm not sure it's necessary to fix the formatting in atomicops_internals_tsan.h, > but ...
6 years, 10 months ago (2014-02-07 08:56:51 UTC) #11
Dmitry Vyukov
LGTM for atomicops_internals_tsan.h
6 years, 10 months ago (2014-02-07 09:03:51 UTC) #12
cosmin.truta
On 2014/02/07 08:55:23, Alexander Potapenko wrote: > I'm not sure it's necessary to fix the ...
6 years, 10 months ago (2014-02-07 15:32:36 UTC) #13
Dmitry Vyukov
On 2014/02/07 15:32:36, cosmin.truta wrote: > On 2014/02/07 08:55:23, Alexander Potapenko wrote: > > I'm ...
6 years, 10 months ago (2014-02-07 15:37:41 UTC) #14
leng
atomicops_internals_mac.h LGTM
6 years, 10 months ago (2014-02-07 16:32:54 UTC) #15
Mark Mentovai
LGTM This is too many reviewers for what amounts to formatting cleanup.
6 years, 10 months ago (2014-02-07 16:53:17 UTC) #16
Mark Mentovai
The CQ bit was checked by mark@chromium.org
6 years, 10 months ago (2014-02-07 16:53:21 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ctruta@blackberry.com/143273005/540001
6 years, 10 months ago (2014-02-07 16:53:29 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ctruta@blackberry.com/143273005/540001
6 years, 10 months ago (2014-02-07 22:12:05 UTC) #19
commit-bot: I haz the power
6 years, 10 months ago (2014-02-08 04:59:57 UTC) #20
Message was sent while issue was closed.
Change committed as 249938

Powered by Google App Engine
This is Rietveld 408576698