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

Issue 8465010: Minor perf and size optimization - don't do asserts in release build (Closed)

Created:
9 years, 1 month ago by joth
Modified:
9 years, 1 month ago
CC:
chromium-reviews
Visibility:
Public.

Description

Minor perf and size optimization - don't do asserts in release build Avoiding the pthread_getspecific call on every pointer access seems worth it (and it reduces templated code size) BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=108678

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M base/lazy_instance.h View 1 chunk +3 lines, -0 lines 0 comments Download
M base/memory/singleton.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
joth
9 years, 1 month ago (2011-11-04 10:36:17 UTC) #1
willchan no longer on Chromium
LGTM On Fri, Nov 4, 2011 at 3:36 AM, <joth@chromium.org> wrote: > Reviewers: willchan, > ...
9 years, 1 month ago (2011-11-04 14:39:30 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/joth@chromium.org/8465010/1
9 years, 1 month ago (2011-11-04 17:03:58 UTC) #3
commit-bot: I haz the power
Presubmit check for 8465010-1 failed and returned exit status 1. Running presubmit commit checks ...
9 years, 1 month ago (2011-11-04 17:04:00 UTC) #4
willchan no longer on Chromium
9 years, 1 month ago (2011-11-04 17:14:58 UTC) #5
Haha, so pwn3d. Bypass this presubmit please :)

On Fri, Nov 4, 2011 at 10:04 AM, <commit-bot@chromium.org> wrote:

> Presubmit check for 8465010-1 failed and returned exit status 1.
>
> Running presubmit commit checks ...
>
> ** Presubmit ERRORS **
> Found Singleton<T> in the following header files.
> Please move them to an appropriate source file so that the template gets
> instantiated in a single compilation unit.
>  base/memory/singleton.h
>
> Was the presubmit check useful? Please send feedback & hate mail to
> maruel@chromium.org!
>
>
>
http://codereview.chromium.**org/8465010/<http://codereview.chromium.org/8465...
>

Powered by Google App Engine
This is Rietveld 408576698