android: Delay removing binding
The effective process importance is computed from many inputs that can change independently. An undesired case happens when one change causes a binding to be dropped, but a closely-followed subsequent change adds the binding back. This causes the process to temporarily drop the binding which then can cause the OS to kill the process. Use a herustic to delay calls to drop bindings to avoid situations like this. To be conservative, only use apply this delay on the initial one second of the process to avoid wider impact. Bug: 1045059 Change-Id: I73462cf3c43140416871ef7abef3d77a419ca5a8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2031305Reviewed-by:ssid <ssid@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#738324}
Showing
Please register or sign in to comment