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

Issue 1211903003: Remove old/unused atomicops code (Closed)

Created:
5 years, 5 months ago by Sam Clegg
Modified:
5 years, 5 months ago
Reviewers:
Nico, JF, rmcilroy, danalbert
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove old/unused atomicops code None of these gcc versions of atomicopts are used in chromium anymore. The portable versions were added in: https://codereview.chromium.org/636783002 and all our GCC-based targets use those now. This change mostly just removes dead code. Some files were added to base/allocator/BUILD.gn in order to have it match allocator.gyp. These were not required before but are now (specifically tcmalloc's base/atomicops-internals-x86.cc). We got away without it previously since base/atomicops_internals_x86_gcc.cc provided the same symbol, but the symbol collision was arguably a bug. BUG=423074 Committed: https://crrev.com/b030801fcf447602931b3e4b8f94aae8053c61fb Cr-Commit-Position: refs/heads/master@{#337123}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : also remove _gcc.h #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -1379 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M base/allocator/BUILD.gn View 1 2 3 4 1 chunk +11 lines, -0 lines 3 comments Download
M base/atomicops.h View 1 2 3 4 5 6 2 chunks +0 lines, -38 lines 0 comments Download
D base/atomicops_internals_arm64_gcc.h View 1 chunk +0 lines, -307 lines 0 comments Download
D base/atomicops_internals_arm_gcc.h View 1 chunk +0 lines, -294 lines 0 comments Download
D base/atomicops_internals_gcc.h View 1 2 3 4 5 6 1 chunk +0 lines, -106 lines 0 comments Download
D base/atomicops_internals_mips_gcc.h View 1 chunk +0 lines, -280 lines 0 comments Download
D base/atomicops_internals_x86_gcc.h View 1 chunk +0 lines, -228 lines 0 comments Download
D base/atomicops_internals_x86_gcc.cc View 1 chunk +0 lines, -103 lines 0 comments Download
M base/base.gyp View 1 2 3 4 5 6 1 chunk +0 lines, -12 lines 0 comments Download
M base/base.gypi View 1 2 3 4 5 6 3 chunks +0 lines, -7 lines 0 comments Download
M tools/gn/bootstrap/bootstrap.py View 1 1 chunk +0 lines, -1 line 3 comments Download

Messages

Total messages: 36 (11 generated)
Sam Clegg
5 years, 5 months ago (2015-06-26 21:53:55 UTC) #2
Sam Clegg
5 years, 5 months ago (2015-06-26 23:18:33 UTC) #4
JF
I think atomicops_internals_gcc.h is only there for the NaCl toolchain (and could be removed in ...
5 years, 5 months ago (2015-06-29 16:51:30 UTC) #6
rmcilroy
On 2015/06/29 16:51:30, JF wrote: > I think atomicops_internals_gcc.h is only there for the NaCl ...
5 years, 5 months ago (2015-06-29 16:58:52 UTC) #7
JF
> I don't think we are using stlport on Android any longer, we have moved ...
5 years, 5 months ago (2015-06-29 17:10:02 UTC) #8
rmcilroy
On 2015/06/29 17:10:02, JF wrote: > > I don't think we are using stlport on ...
5 years, 5 months ago (2015-06-29 17:29:49 UTC) #9
Sam Clegg
On 2015/06/29 17:29:49, rmcilroy wrote: > On 2015/06/29 17:10:02, JF wrote: > > > I ...
5 years, 5 months ago (2015-06-29 17:44:33 UTC) #10
Sam Clegg
On 2015/06/29 16:51:30, JF wrote: > I think atomicops_internals_gcc.h is only there for the NaCl ...
5 years, 5 months ago (2015-06-29 17:45:36 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211903003/100001
5 years, 5 months ago (2015-06-29 17:47:02 UTC) #13
JF
OK, it sounds like Android doesn't need these headers then. That's great! I remember trying ...
5 years, 5 months ago (2015-06-29 18:27:26 UTC) #14
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-06-29 19:33:00 UTC) #16
Sam Clegg
+thakis for base/OWNERS and thestig is OOO
5 years, 5 months ago (2015-06-29 19:36:26 UTC) #18
Sam Clegg
On 2015/06/29 17:45:36, Sam Clegg wrote: > On 2015/06/29 16:51:30, JF wrote: > > I ...
5 years, 5 months ago (2015-07-01 18:29:24 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211903003/140001
5 years, 5 months ago (2015-07-01 18:29:38 UTC) #23
JF
Very cool! Still lgtm.
5 years, 5 months ago (2015-07-01 18:32:41 UTC) #24
Nico
lgtm except for the bootstrap.py change https://codereview.chromium.org/1211903003/diff/140001/base/allocator/BUILD.gn File base/allocator/BUILD.gn (right): https://codereview.chromium.org/1211903003/diff/140001/base/allocator/BUILD.gn#newcode72 base/allocator/BUILD.gn:72: "$tcmalloc_dir/src/base/atomicops-internals-x86.h", Would the ...
5 years, 5 months ago (2015-07-01 18:49:08 UTC) #25
Sam Clegg
https://codereview.chromium.org/1211903003/diff/140001/base/allocator/BUILD.gn File base/allocator/BUILD.gn (right): https://codereview.chromium.org/1211903003/diff/140001/base/allocator/BUILD.gn#newcode72 base/allocator/BUILD.gn:72: "$tcmalloc_dir/src/base/atomicops-internals-x86.h", On 2015/07/01 18:49:07, Nico wrote: > Would the ...
5 years, 5 months ago (2015-07-01 18:52:59 UTC) #26
Nico
https://codereview.chromium.org/1211903003/diff/140001/base/allocator/BUILD.gn File base/allocator/BUILD.gn (right): https://codereview.chromium.org/1211903003/diff/140001/base/allocator/BUILD.gn#newcode72 base/allocator/BUILD.gn:72: "$tcmalloc_dir/src/base/atomicops-internals-x86.h", On 2015/07/01 18:52:58, Sam Clegg wrote: > On ...
5 years, 5 months ago (2015-07-01 18:55:09 UTC) #27
Nico
https://codereview.chromium.org/1211903003/diff/140001/tools/gn/bootstrap/bootstrap.py File tools/gn/bootstrap/bootstrap.py (right): https://codereview.chromium.org/1211903003/diff/140001/tools/gn/bootstrap/bootstrap.py#newcode146 tools/gn/bootstrap/bootstrap.py:146: 'base/base_paths.cc', On 2015/07/01 18:52:58, Sam Clegg wrote: > On ...
5 years, 5 months ago (2015-07-01 18:55:42 UTC) #28
Sam Clegg
On 2015/07/01 18:55:42, Nico wrote: > https://codereview.chromium.org/1211903003/diff/140001/tools/gn/bootstrap/bootstrap.py > File tools/gn/bootstrap/bootstrap.py (right): > > https://codereview.chromium.org/1211903003/diff/140001/tools/gn/bootstrap/bootstrap.py#newcode146 > ...
5 years, 5 months ago (2015-07-01 19:41:00 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 5 months ago (2015-07-01 20:00:46 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1211903003/140001
5 years, 5 months ago (2015-07-01 21:52:21 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:140001)
5 years, 5 months ago (2015-07-01 21:57:23 UTC) #34
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/b030801fcf447602931b3e4b8f94aae8053c61fb Cr-Commit-Position: refs/heads/master@{#337123}
5 years, 5 months ago (2015-07-01 21:58:30 UTC) #35
jdduke (slow)
5 years, 5 months ago (2015-07-21 21:11:17 UTC) #36
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:140001) has been created in
https://codereview.chromium.org/1250853002/ by jdduke@chromium.org.

The reason for reverting is: Temporarily reverting until libc++ ships to stable
on Android..

Powered by Google App Engine
This is Rietveld 408576698