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

Issue 6012007: wm: Fix FD leak in watchdog when Chrome is hanging. (Closed)

Created:
10 years ago by Daniel Erat
Modified:
9 years, 7 months ago
Reviewers:
oshima
CC:
chromium-os-reviews_chromium.org, Greg Spencer (Chromium), Daniel Erat
Visibility:
Public.

Description

wm: Fix FD leak in watchdog when Chrome is hanging. When Chrome's UI thread didn't respond to pings, timeouts weren't being removed. This could result in us leaking timerfd file descriptors at a rate of one every five seconds. BUG=chromium-os:10583 TEST=added a test that catches the problem in the old code Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=4bef394

Patch Set 1 #

Patch Set 2 : fix typo in comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M chrome_watchdog.cc View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome_watchdog_test.cc View 1 3 chunks +9 lines, -3 lines 0 comments Download
M event_loop.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Daniel Erat
9 years, 12 months ago (2010-12-29 02:15:24 UTC) #1
oshima
9 years, 11 months ago (2010-12-30 01:59:06 UTC) #2
LGTM

Powered by Google App Engine
This is Rietveld 408576698