Making ChildProcessConnection only accessed from the launcher thread.
As a result, removing locks and synchronizations. Also changing the way we store and report the OOM protected state. We now update the OOM protected state every time it changes as long as we are bound (that happens only on the launcher thread). When retrieving that OOM protected state (which happens on the IO thread), we return that state directly without the need of a lock. BUG=714657 Review-Url: https://codereview.chromium.org/2840303002 Cr-Commit-Position: refs/heads/master@{#467892}
Showing
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment