summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.cc
diff options
context:
space:
mode:
author Jared Duke <jdduke@google.com> 2022-06-10 16:19:05 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2022-06-17 05:46:04 +0000
commit68ac0eb873b798b1b8ece1123edbd71e03336b39 (patch)
tree23b596e2d67c5bb710ce08f51adb482527c497b8 /runtime/interpreter/interpreter_common.cc
parent2229f5b630cdfd2224dd2aa6bcad583bc0b30470 (diff)
Only madvise for jank-perceptible processes
The madvise optimization for ART artifacts was introduced to improve app startup performance. This optimization is less critical for background process startup, e.g., boot broadcast receivers. Suppress the madvise calls in these background (non-jank perceptible) cases, potentially reducing memory and IO pressure from background process activity. Bug: 235390330 Test: m + presubmit + boot tests (check traces for madvise activity) Change-Id: Ib759e9f8ca84ecedd9a37d79970bc15c70116a3a
Diffstat (limited to 'runtime/interpreter/interpreter_common.cc')
0 files changed, 0 insertions, 0 deletions