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

Issue 2961413003: Outline RefCountedThreadSafeBase::AddRef and Release on non-X86 (Closed)

Created:
3 years, 5 months ago by hans
Modified:
3 years, 5 months ago
CC:
chromium-reviews, danakj+watch_chromium.org, gavinp+memory_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Outline RefCountedThreadSafeBase::AddRef and Release on non-X86 They were made inline in #481091, which caused a size drop on X86 and size increase on ARM. The code sequence on ARM is larger than on X86, and probably not worth inlining. BUG=728324, 736015 Review-Url: https://codereview.chromium.org/2961413003 Cr-Commit-Position: refs/heads/master@{#483759} Committed: https://chromium.googlesource.com/chromium/src/+/79eb7ebaabeb87fd76da56f35de0ab5776806a15

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -14 lines) Patch
M base/memory/ref_counted.h View 3 chunks +26 lines, -14 lines 2 comments Download
M base/memory/ref_counted.cc View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (10 generated)
hans
What do you think?
3 years, 5 months ago (2017-06-30 16:12:53 UTC) #2
(unused - use chromium)
lgtm, let's see if this reduces startup perf on arm again. https://codereview.chromium.org/2961413003/diff/1/base/memory/ref_counted.h File base/memory/ref_counted.h (right): ...
3 years, 5 months ago (2017-06-30 16:19:06 UTC) #6
hans
https://codereview.chromium.org/2961413003/diff/1/base/memory/ref_counted.h File base/memory/ref_counted.h (right): https://codereview.chromium.org/2961413003/diff/1/base/memory/ref_counted.h#newcode180 base/memory/ref_counted.h:180: ALWAYS_INLINE bool ReleaseImpl() const { On 2017/06/30 16:19:06, (unused ...
3 years, 5 months ago (2017-06-30 16:21:13 UTC) #7
chromium-reviews
¯\_(ツ)_/¯ up to you On Fri, Jun 30, 2017 at 12:21 PM, <hans@chromium.org> wrote: > ...
3 years, 5 months ago (2017-06-30 16:22:48 UTC) #8
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/2961413003/1
3 years, 5 months ago (2017-06-30 16:30:36 UTC) #11
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 5 months ago (2017-06-30 16:30:39 UTC) #13
Nico
lgtm
3 years, 5 months ago (2017-06-30 16:32:19 UTC) #14
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/2961413003/1
3 years, 5 months ago (2017-06-30 16:32:50 UTC) #16
agrieve
On 2017/06/30 16:32:50, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
3 years, 5 months ago (2017-06-30 16:45:36 UTC) #17
commit-bot: I haz the power
3 years, 5 months ago (2017-06-30 18:15:12 UTC) #20
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/79eb7ebaabeb87fd76da56f35de0...

Powered by Google App Engine
This is Rietveld 408576698