summaryrefslogtreecommitdiff
path: root/api/coverage/tools
diff options
context:
space:
mode:
author Michael Wachenschwanz <mwachens@google.com> 2025-01-22 16:26:50 -0800
committer Michael Wachenschwanz <mwachens@google.com> 2025-01-27 14:15:37 -0800
commite3289ae1d4539772940e9d619e1dea4eff4a8433 (patch)
tree0634a8eab0fe8c3235aea9c2a0312f18beb4562f /api/coverage/tools
parenteb96c36837c8a1dddd030fe2b4090ba8d6fca230 (diff)
Raise the threshold OomAdjuster will drop a service with UI to cached
When a client binds to a proc that has shown UI, OomAdjuster will aggressively try to drop the service to the cached state to try to recover memory from the UI process faster. The threshold is based on the client oom score, but the current threshold is too agressive at PERCEPTIBLE_APP_ADJ. Raise the threshold to SERVICE_ADJ, the highest score that can reasonably be performing timely work. Flag: com.android.server.am.raise_bound_ui_service_threshold Fixes: 391691057 Test: atest MockingOomAdjuster Change-Id: Ia17ad5798ef254c9cc1527d85838b833053faf1f
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions