summaryrefslogtreecommitdiff
path: root/libnativeloader/native_loader_lazy.cpp
diff options
context:
space:
mode:
authorzengkaifa <zengkaifa@oppo.com>2021-09-17 09:51:57 +0800
committeralk3pInjection <webmaster@raspii.tech>2022-05-13 21:21:40 +0800
commit1ac0d86e67d2d3157de174bd3d51b999bf2c4a50 (patch)
treecef92e7b7f6b1176155ef09e9f99cb768b67c324 /libnativeloader/native_loader_lazy.cpp
parent8911f7d7b066776ed5a9ebbdcb008a49bd04ceca (diff)
art: optimization of gc load, reduce gc in some scenarios
1. NativeAlloc GC: Increase the count of the number of small native memory allocations. 2. CollectTransition GC: App's allocations (since last GC) more than the threshold then do GC when the app was in background. If not then don't do GC. Bug: 200116730 Change-Id: Id2977f05eb249691326955e6f2424d4e5e08b417
Diffstat (limited to 'libnativeloader/native_loader_lazy.cpp')
0 files changed, 0 insertions, 0 deletions