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

Issue 2689793003: Enable string pooling in the no_optimize configuration, under Windows. (Closed)

Created:
3 years, 10 months ago by Wez
Modified:
3 years, 10 months ago
Reviewers:
brettw
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable string pooling in the no_optimize configuration, under Windows. This matches the default behaviour, even in Debug builds, of GCC & Clang. AllocationContextTracker::PseudoStackFrame actually relies on string pooling to allow it to compare trace event category and name strings by address rather than strcmp(). BUG=686208 Review-Url: https://codereview.chromium.org/2689793003 Cr-Commit-Position: refs/heads/master@{#449874} Committed: https://chromium.googlesource.com/chromium/src/+/772ff4cd3df488b794fa66e8ed9d2951543a11ee

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M build/config/compiler/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
Wez
We think relying on string pooling is evil and wrong, but let's land this to ...
3 years, 10 months ago (2017-02-11 01:53:25 UTC) #5
Wez
brucedawson->brettw :)
3 years, 10 months ago (2017-02-11 01:56:55 UTC) #7
brettw
I'm nervous. Why *wouldn't* we want to do this?
3 years, 10 months ago (2017-02-11 05:03:57 UTC) #8
awong
On 2017/02/11 05:03:57, brettw (plz ping after 24h) wrote: > I'm nervous. Why *wouldn't* we ...
3 years, 10 months ago (2017-02-11 06:17:45 UTC) #9
awong
On 2017/02/11 06:17:45, awong wrote: > On 2017/02/11 05:03:57, brettw (plz ping after 24h) wrote: ...
3 years, 10 months ago (2017-02-11 06:20:02 UTC) #10
Wez
You beat me to it, Albert! (a) is benign; any code relying on writable strings ...
3 years, 10 months ago (2017-02-11 06:50:53 UTC) #11
brettw
okay, lgtm
3 years, 10 months ago (2017-02-11 16:21:02 UTC) #21
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/2689793003/1
3 years, 10 months ago (2017-02-11 19:35:29 UTC) #23
commit-bot: I haz the power
3 years, 10 months ago (2017-02-11 19:40:08 UTC) #26
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/772ff4cd3df488b794fa66e8ed9d...

Powered by Google App Engine
This is Rietveld 408576698