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

Issue 2023133003: Add Static Initializer for leak detector TLS (Closed)

Created:
4 years, 6 months ago by Simon Que
Modified:
4 years, 6 months ago
CC:
asvitkine+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, Will Harris
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Static Initializer for leak detector TLS This is optional for running leak detector on browser process, but later it will be necessary to run on renderer process. By initializing the pthread TLS system early, we avoid initializing it from within an alloc hook function, in which case it would go into a recursive call loop. BUG=chromium:615223 Committed: https://crrev.com/386a3c02dede8c906afd6dbda83e28da48c93f8f Cr-Commit-Position: refs/heads/master@{#397834}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Renamed Init function; added comments; ignore_result; call from chrome/app #

Patch Set 3 : Include protobuf header in unittest; Browser publicly depends on leak_detector #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -5 lines) Patch
M chrome/app/BUILD.gn View 1 2 1 chunk +4 lines, -1 line 0 comments Download
M chrome/app/DEPS View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/metrics/leak_detector/leak_detector.h View 1 3 chunks +8 lines, -3 lines 0 comments Download
M components/metrics/leak_detector/leak_detector.cc View 1 2 chunks +6 lines, -0 lines 0 comments Download
M components/metrics/leak_detector/leak_detector_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
Simon Que
4 years, 6 months ago (2016-06-01 02:50:19 UTC) #2
jochen (gone - plz use gerrit)
is there a specific reason to put this into content/app as opposed to chrome/app? https://codereview.chromium.org/2023133003/diff/1/components/metrics/leak_detector/leak_detector.cc ...
4 years, 6 months ago (2016-06-01 15:11:29 UTC) #4
Simon Que
On 2016/06/01 15:11:29, jochen wrote: > is there a specific reason to put this into ...
4 years, 6 months ago (2016-06-01 15:40:42 UTC) #5
Primiano Tucci (use gerrit)
not an owner of anything here but the general approach LGTM % putting in the ...
4 years, 6 months ago (2016-06-01 21:26:30 UTC) #7
Simon Que
https://codereview.chromium.org/2023133003/diff/1/components/metrics/leak_detector/leak_detector.cc File components/metrics/leak_detector/leak_detector.cc (right): https://codereview.chromium.org/2023133003/diff/1/components/metrics/leak_detector/leak_detector.cc#newcode163 components/metrics/leak_detector/leak_detector.cc:163: // static On 2016/06/01 15:11:28, jochen wrote: > nit. ...
4 years, 6 months ago (2016-06-02 17:55:17 UTC) #8
jochen (gone - plz use gerrit)
lgtm
4 years, 6 months ago (2016-06-03 12:43:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023133003/20001
4 years, 6 months ago (2016-06-03 16:40:17 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/147745) chromeos_x86-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, ...
4 years, 6 months ago (2016-06-03 16:45:17 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2023133003/40001
4 years, 6 months ago (2016-06-03 21:31:22 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-06-03 23:11:16 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 23:13:37 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/386a3c02dede8c906afd6dbda83e28da48c93f8f
Cr-Commit-Position: refs/heads/master@{#397834}

Powered by Google App Engine
This is Rietveld 408576698