|
Linux: inform the Zygote when it's waiting on a dead process
If the browser calls ProcessDied() and asks the Zygote to wait (without blocking)
on a dead process, the kernel might not be done destroying it and the Zygote may
mistakenly claim that the process is alive.
We now inform the Zygote over the IPC that the process is already dead so
that it can wait synchroneously.
BUG= 157458
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=171450
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+100 lines, -51 lines) |
Patch |
![](/static/closedtriangle.gif) |
M |
base/process_util.h
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
base/process_util_posix.cc
|
View
|
|
2 chunks |
+49 lines, -37 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/browser/browser_child_process_host_impl.cc
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/browser/child_process_launcher.h
|
View
|
1
|
1 chunk |
+8 lines, -5 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/browser/child_process_launcher.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/browser/renderer_host/render_process_host_impl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/browser/renderer_host/render_process_host_impl.cc
|
View
|
1
|
4 chunks |
+5 lines, -4 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/browser/zygote_host/zygote_host_impl_linux.h
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/browser/zygote_host/zygote_host_impl_linux.cc
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
![](/static/closedtriangle.gif) |
M |
content/zygote/zygote_linux.cc
|
View
|
|
2 chunks |
+17 lines, -2 lines |
0 comments
|
Download
|
Total messages: 17 (0 generated)
|