summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2018-04-30 18:51:56 +0200
committerJorim Jaggi <jjaggi@google.com>2018-05-18 18:26:30 +0200
commitb29e318e0337213d4e031dc5d339f9903cef78a9 (patch)
treef543df434a878d96ef2468b0fbdde9b488ccd6e9 /tools/aapt2/java/JavaClassGenerator.cpp
parente4a8d4c7e94ac72cf7978306160994015b99227c (diff)
Schedule trimMemory after drawing the frame
Fixes jank issues where trimMemory gets scheduled during an animation. trimMemory likely hits code that is not in the page cache anymore, leading to high execution time because of page misses. Scheduling it after the next frame has been drawn minimizes the risk that this page miss actually causes jank. Test: Boot, switch between a couple of apps. Bug: 78611607 Change-Id: Ia1fc411fbe6ca07861183ae484124406681118e5
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions