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

Issue 542042: Mac: ensure child processes are properly reaped -- eliminate Helper zombies. (Closed)

Created:
10 years, 11 months ago by viettrungluu
Modified:
9 years, 6 months ago
Reviewers:
Mark Mentovai, jeremy
CC:
chromium-reviews_googlegroups.com, John Grabowski, pam+watch_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Mac: ensure child processes are properly reaped -- eliminate Helper zombies. BUG=32001 TEST=Surf a lot. Then close all Chrome/Chromium windows. Make sure there aren't any zombie Chrome/Chromium Helper processes (run "ps -Al" and look for things with status containing 'Z'). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=36124

Patch Set 1 #

Patch Set 2 : Added test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -2 lines) Patch
M chrome/common/process_watcher_mac.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/common/process_watcher_unittest.cc View 1 chunk +17 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
viettrungluu
Probably I should still add a test, but the change to the reaper itself should ...
10 years, 11 months ago (2010-01-13 00:53:01 UTC) #1
Mark Mentovai
I'm not so sure about this. It might be right (and the code itself LGTM), ...
10 years, 11 months ago (2010-01-13 01:04:48 UTC) #2
Mark Mentovai
Jeremy, why did we move to kqueues in r34547, bug 12731, http://codereview.chromium.org/496007? Did it actually ...
10 years, 11 months ago (2010-01-13 01:15:52 UTC) #3
viettrungluu
On 2010/01/13 01:04:48, Mark Mentovai wrote: > I'm not so sure about this. It might ...
10 years, 11 months ago (2010-01-13 01:31:02 UTC) #4
viettrungluu
A zombie is produced for me immediately upon visiting http://www.nytimes.com/. Here's a stack, in case ...
10 years, 11 months ago (2010-01-13 01:44:34 UTC) #5
jeremy
LGTM - Thanks for the fix! mark: If you look in the original code review ...
10 years, 11 months ago (2010-01-13 08:22:48 UTC) #6
jeremy
EnsureProcessTerminated() is called on it's own thread using a task, that's the stack you're seeing ...
10 years, 11 months ago (2010-01-13 08:25:23 UTC) #7
Mark Mentovai
10 years, 11 months ago (2010-01-13 15:06:34 UTC) #8
LGTM as a fix now.  I'll read it more carefully later to review all of
the new code in here.

Powered by Google App Engine
This is Rietveld 408576698