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

Issue 1937613002: Stop compiling and printing logging strings for CHECK() on Android. (Closed)

Created:
4 years, 7 months ago by danakj
Modified:
4 years, 7 months ago
CC:
chromium-reviews, klobag.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Stop compiling and printing logging strings for CHECK() on Android. This is a performance regression in general, and causes visible regression when Blink used CHECK instead of their own RELEASE_ASSERT. This behaviour was introduced in https://codereview.chromium.org/336413005 If Android continues to need something special here (radio silence from previously-interested parties for the last few weeks), we should print __FILE__ and __LINE__ or something, and not support the full string logging that this patch reverts. R=haraken, thakis@chromium.org BUG=599867, 596760, 378974 Committed: https://crrev.com/b9d5931295b7eab7bd2f029b8d896082b911d776 Cr-Commit-Position: refs/heads/master@{#391613}

Patch Set 1 #

Patch Set 2 : android-check: . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M base/logging.h View 1 3 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 50 (17 generated)
danakj
4 years, 7 months ago (2016-04-29 21:09:07 UTC) #1
Nico
Grace, please shout if you think this will cause issues. I think this lgtm. (Dana, ...
4 years, 7 months ago (2016-04-29 21:10:40 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1937613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1937613002/20001
4 years, 7 months ago (2016-04-29 21:10:47 UTC) #4
danakj
Done, and added that bug to the BUG= too.
4 years, 7 months ago (2016-04-29 21:12:58 UTC) #6
Yaron
On 2016/04/29 21:10:47, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
4 years, 7 months ago (2016-04-29 21:21:28 UTC) #7
danakj
On 2016/04/29 21:21:28, Yaron wrote: > On 2016/04/29 21:10:47, commit-bot: I haz the power wrote: ...
4 years, 7 months ago (2016-04-29 21:25:07 UTC) #8
Yaron
+torne for thoughts and whether this affects webview
4 years, 7 months ago (2016-04-29 21:38:14 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-04-29 23:08:09 UTC) #12
danakj
ping :) Anything to add?
4 years, 7 months ago (2016-05-02 20:44:38 UTC) #13
Yaron
Honestly, I'm a bit torn but probably ok with it. I'd like to reap the ...
4 years, 7 months ago (2016-05-02 21:38:00 UTC) #14
Torne
On 2016/05/02 21:38:00, Yaron wrote: > Honestly, I'm a bit torn but probably ok with ...
4 years, 7 months ago (2016-05-03 13:05:40 UTC) #15
Torne
Hm. If you do LOG(FATAL) << "foo"; does the "foo" end up in the abort ...
4 years, 7 months ago (2016-05-03 13:08:28 UTC) #16
danakj
On 2016/05/03 13:08:28, Torne wrote: > Hm. If you do LOG(FATAL) << "foo"; does the ...
4 years, 7 months ago (2016-05-03 21:45:34 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1937613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1937613002/20001
4 years, 7 months ago (2016-05-03 21:46:06 UTC) #19
commit-bot: I haz the power
Failed to apply the patch.
4 years, 7 months ago (2016-05-04 00:41:34 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1937613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1937613002/20001
4 years, 7 months ago (2016-05-04 00:46:31 UTC) #24
commit-bot: I haz the power
Failed to apply the patch.
4 years, 7 months ago (2016-05-04 00:51:33 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1937613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1937613002/20001
4 years, 7 months ago (2016-05-04 01:13:58 UTC) #29
commit-bot: I haz the power
Failed to apply the patch.
4 years, 7 months ago (2016-05-04 01:18:22 UTC) #31
klobag.chromium
Sorry to chime in late. We don't want the string because of the size. Can ...
4 years, 7 months ago (2016-05-04 01:19:43 UTC) #34
danakj
On Tue, May 3, 2016 at 6:19 PM, <klobag@chromium.org> wrote: > Sorry to chime in ...
4 years, 7 months ago (2016-05-04 01:22:23 UTC) #35
danakj
On 2016/05/04 01:22:23, danakj wrote: > On Tue, May 3, 2016 at 6:19 PM, <mailto:klobag@chromium.org> ...
4 years, 7 months ago (2016-05-04 01:24:25 UTC) #36
klobag.chromium
We only need to get filename and line number right before we crash. Why it ...
4 years, 7 months ago (2016-05-04 02:43:18 UTC) #37
esprehn
I don't think this is the correct fix, we need regular release builds (the ones ...
4 years, 7 months ago (2016-05-04 05:28:17 UTC) #38
Torne
I'll follow up a bit more on the bug (http://crbug.com/599867), but just quickly: On 2016/05/04 ...
4 years, 7 months ago (2016-05-04 11:39:06 UTC) #39
Nico
On 2016/05/04 05:28:17, esprehn wrote: > I don't think this is the correct fix, we ...
4 years, 7 months ago (2016-05-04 14:43:45 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1937613002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1937613002/20001
4 years, 7 months ago (2016-05-04 19:48:29 UTC) #42
danakj
On 2016/05/04 14:43:45, Nico (hiding Wed May 4) wrote: > On 2016/05/04 05:28:17, esprehn wrote: ...
4 years, 7 months ago (2016-05-04 19:51:16 UTC) #43
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-04 20:06:42 UTC) #45
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b9d5931295b7eab7bd2f029b8d896082b911d776 Cr-Commit-Position: refs/heads/master@{#391613}
4 years, 7 months ago (2016-05-04 20:08:27 UTC) #47
Torne
On a local official build this change saves 252KiB of binary size for arm32, a ...
4 years, 7 months ago (2016-05-05 12:23:39 UTC) #48
haraken
Thanks all for working on this! The performance regression is gone with this CL, so ...
4 years, 7 months ago (2016-05-20 05:27:09 UTC) #49
danakj
4 years, 7 months ago (2016-05-20 21:20:43 UTC) #50
Message was sent while issue was closed.
On 2016/05/20 05:27:09, haraken wrote:
> Thanks all for working on this!
> 
> The performance regression is gone with this CL, so can we now start using
CHECK
> in the Blink code base?

Nico also did https://codereview.chromium.org/1982123002/ so they should really
be equivilent now.

SGTM

Powered by Google App Engine
This is Rietveld 408576698