mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
On Win 7 in a debug configuration, walking all locks was gathering hundreds of thousands of locks, causing test timeouts to be exceeded in debug. On user machines, UnhandledExceptionHandler() could have timed out too. For now, only grab the loader lock as it's the most interesting one. Unfortunately, this means that !locks won't work for now. In the future, we may want to figure out a signalling mechanism so that the client can note other interesting locks to be grabbed, and just avoid walking the list entirely. R=mark@chromium.org BUG=chromium:546288 Review URL: https://codereview.chromium.org/1475033005 .