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

Issue 2198253002: Workaround for issue breaking NACL on ChromeOS. (Closed)

Created:
4 years, 4 months ago by llozano
Modified:
4 years, 4 months ago
Reviewers:
Dirk Pranke, Nico
CC:
chromium-reviews, wfh+watch_chromium.org, Dai Mikurube (NOT FULLTIME)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Workaround for issue breaking NACL on ChromeOS. ChromeOS uses AFDO to improve Chrome performance. However, after the GN migration, NACL broke. We triaged this to using AFDO on tcmalloc. tcmalloc has some dependencies on specific stack traces and section allocations that may break once AFDO is used. So, we need to disable AFDO for the file debugallocation_shim.cc (object bisecting pointed to it). We need a quick workaround, so we are doing this with a GCC pragma. The real solution will come in a few days by a change in GN to avoid passing -fauto-profile to tcmalloc files. BUG=chromium:629593 TEST=verified by hand problem does not reproduce after this change. Committed: https://crrev.com/a6f64234d71eeb6cd0571bd963301c8a617889f4 Cr-Commit-Position: refs/heads/master@{#409081}

Patch Set 1 #

Patch Set 2 : Workaround for issue breaking NACL on ChromeOS. #

Total comments: 1

Patch Set 3 : Workaround for issue breaking NACL on ChromeOS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -0 lines) Patch
M base/allocator/debugallocation_shim.cc View 1 2 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (12 generated)
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/2198253002/1
4 years, 4 months ago (2016-08-01 20:03:54 UTC) #4
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 4 months ago (2016-08-01 20:03:56 UTC) #6
Dirk Pranke
lgtm, but thakis@ needs to review also (for owner review).
4 years, 4 months ago (2016-08-01 20:08:06 UTC) #7
Nico
lgtm, looking forward to the more permanent fix. Out of interest, why wasn't this a ...
4 years, 4 months ago (2016-08-01 20:10:06 UTC) #8
llozano
On 2016/08/01 20:10:06, Nico wrote: > lgtm, looking forward to the more permanent fix. > ...
4 years, 4 months ago (2016-08-01 20:32:53 UTC) #9
Nico
hm, maybe the extra cros build flags should only be applied if !is_nacl then? then ...
4 years, 4 months ago (2016-08-01 20:33:52 UTC) #11
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/2198253002/1
4 years, 4 months ago (2016-08-01 20:33:54 UTC) #12
Dirk Pranke
No, nacl_helper was a regular linux executable even in the GYP build. My guess is ...
4 years, 4 months ago (2016-08-01 20:38:30 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/199909)
4 years, 4 months ago (2016-08-01 20:50:05 UTC) #15
Dirk Pranke
On 2016/08/01 20:50:05, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 4 months ago (2016-08-01 20:54:57 UTC) #16
llozano
On 2016/08/01 20:54:57, Dirk Pranke wrote: > On 2016/08/01 20:50:05, commit-bot: I haz the power ...
4 years, 4 months ago (2016-08-01 21:43:35 UTC) #17
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/2198253002/20001
4 years, 4 months ago (2016-08-01 21:45:48 UTC) #20
Nico
https://codereview.chromium.org/2198253002/diff/20001/base/allocator/debugallocation_shim.cc File base/allocator/debugallocation_shim.cc (right): https://codereview.chromium.org/2198253002/diff/20001/base/allocator/debugallocation_shim.cc#newcode10 base/allocator/debugallocation_shim.cc:10: #if ((__GNUC__ == 4 && __GNUC_MINOR__ >= 9) || ...
4 years, 4 months ago (2016-08-01 21:47:29 UTC) #21
llozano
On 2016/08/01 21:47:29, Nico wrote: > https://codereview.chromium.org/2198253002/diff/20001/base/allocator/debugallocation_shim.cc > File base/allocator/debugallocation_shim.cc (right): > > https://codereview.chromium.org/2198253002/diff/20001/base/allocator/debugallocation_shim.cc#newcode10 > ...
4 years, 4 months ago (2016-08-01 21:53:49 UTC) #22
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/2198253002/40001
4 years, 4 months ago (2016-08-01 21:54:30 UTC) #25
llozano
On 2016/08/01 20:33:52, Nico wrote: > hm, maybe the extra cros build flags should only ...
4 years, 4 months ago (2016-08-01 22:31:58 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-01 22:40:16 UTC) #28
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/a6f64234d71eeb6cd0571bd963301c8a617889f4 Cr-Commit-Position: refs/heads/master@{#409081}
4 years, 4 months ago (2016-08-01 22:43:38 UTC) #30
Will Harris
4 years, 4 months ago (2016-08-16 16:30:57 UTC) #31
Message was sent while issue was closed.
please use lowest level OWNERS if there is one.

Powered by Google App Engine
This is Rietveld 408576698