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

Issue 11280041: [ppapi] Simple deadlock detector for proxy lock. (Closed)

Created:
8 years, 1 month ago by Scott Hess - ex-Googler
Modified:
8 years ago
Reviewers:
brettw, viettrungluu
CC:
chromium-reviews
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

[ppapi] Simple deadlock detector for proxy lock. base::lock provides a simple detector for single-thread deadlock in debug mode. Implement a similar approach for the proxy lock in debug or release. BUG=161286 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170513

Patch Set 1 #

Total comments: 2

Patch Set 2 : Convert to a ThreadLocalBoolean. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -3 lines) Patch
M ppapi/shared_impl/proxy_lock.cc View 1 1 chunk +27 lines, -3 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Scott Hess - ex-Googler
Does this look sane? I reverted an earlier patch and found that this seems to ...
8 years, 1 month ago (2012-11-16 23:56:07 UTC) #1
Scott Hess - ex-Googler
Trung seemed ambiguously un-enthusiastic about this. WDYT, then?
8 years ago (2012-11-29 00:13:42 UTC) #2
brettw
https://chromiumcodereview.appspot.com/11280041/diff/1/ppapi/shared_impl/proxy_lock.cc File ppapi/shared_impl/proxy_lock.cc (right): https://chromiumcodereview.appspot.com/11280041/diff/1/ppapi/shared_impl/proxy_lock.cc#newcode16 ppapi/shared_impl/proxy_lock.cc:16: base::Lock own_lock; Can we just use TLS to hold ...
8 years ago (2012-11-29 23:44:33 UTC) #3
Scott Hess - ex-Googler
Please Take Another Look? Thanks. https://chromiumcodereview.appspot.com/11280041/diff/1/ppapi/shared_impl/proxy_lock.cc File ppapi/shared_impl/proxy_lock.cc (right): https://chromiumcodereview.appspot.com/11280041/diff/1/ppapi/shared_impl/proxy_lock.cc#newcode16 ppapi/shared_impl/proxy_lock.cc:16: base::Lock own_lock; On 2012/11/29 ...
8 years ago (2012-11-30 00:49:51 UTC) #4
brettw
lgtm
8 years ago (2012-11-30 05:05:07 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/11280041/3002
8 years ago (2012-11-30 17:59:03 UTC) #6
commit-bot: I haz the power
8 years ago (2012-11-30 19:44:54 UTC) #7
Message was sent while issue was closed.
Change committed as 170513

Powered by Google App Engine
This is Rietveld 408576698