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

Issue 383793002: [Telemetry] Fix a few more potential deadlocks. (Closed)

Created:
6 years, 5 months ago by tonyg
Modified:
6 years, 5 months ago
Reviewers:
jbudorick
CC:
chromium-reviews, telemetry+watch_chromium.org
Project:
chromium
Visibility:
Public.

Description

[Telemetry] Fix a few more potential deadlocks. This builds on https://codereview.chromium.org/385653002/ . Many functions in Python's logging module grab a lock internally. Some appear to do so before converting the provided message to a string via its __str__ method. Calling an object's __str__ method before calling a logging funciton allows anything called by the __str__ method to log without the risk of hitting a deadlock. BUG=392869 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282485

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M tools/telemetry/telemetry/benchmark.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/ios_browser_finder.py View 1 chunk +1 line, -1 line 0 comments Download
M tools/telemetry/telemetry/core/platform/linux_platform_backend.py View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
tonyg
6 years, 5 months ago (2014-07-10 18:11:11 UTC) #1
jbudorick
lgtm
6 years, 5 months ago (2014-07-10 18:17:08 UTC) #2
tonyg
The CQ bit was checked by tonyg@chromium.org
6 years, 5 months ago (2014-07-10 18:18:19 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tonyg@chromium.org/383793002/1
6 years, 5 months ago (2014-07-10 18:19:41 UTC) #4
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-10 22:23:35 UTC) #5
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 01:07:05 UTC) #6
Message was sent while issue was closed.
Change committed as 282485

Powered by Google App Engine
This is Rietveld 408576698