DescriptionMaking 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}
Committed: https://chromium.googlesource.com/chromium/src/+/93637728a91bf34e608f0c281febaf06af44fe30
Patch Set 1 : Making ChildProcessConnection only accessed from the launcher thread. #
Total comments: 4
Patch Set 2 : Fixed tests and addressed boliu@'s comments. #
Total comments: 2
Patch Set 3 : Removed no assert methods. #
Total comments: 2
Patch Set 4 : Clean-up + sync #
Messages
Total messages: 33 (22 generated)
|