diff options
author | zengkaifa <zengkaifa@oppo.com> | 2021-09-17 09:51:57 +0800 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-13 21:21:40 +0800 |
commit | 1ac0d86e67d2d3157de174bd3d51b999bf2c4a50 (patch) | |
tree | cef92e7b7f6b1176155ef09e9f99cb768b67c324 /compiler/common_compiler_test.cc | |
parent | 8911f7d7b066776ed5a9ebbdcb008a49bd04ceca (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 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions