summaryrefslogtreecommitdiff
path: root/runtime/class_linker_test.cc
diff options
context:
space:
mode:
author zengkaifa <zengkaifa@oppo.com> 2021-09-17 09:51:57 +0800
committer Lokesh Gidra <lokeshgidra@google.com> 2021-09-29 19:45:48 +0000
commit3dcd844cccf35dc8d66117bd77de16fc68c86e4b (patch)
tree76584fcaa03d6927765bbaaf06e7ed86b9ab970b /runtime/class_linker_test.cc
parent145fce1b7bdee2bfc205b767d558b4ef09bbde22 (diff)
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. Expert in charge of ART, please evaluate this CL and hope to merge it in master branch. Bug:200116730 Change-Id: Id2977f05eb249691326955e6f2424d4e5e08b417
Diffstat (limited to 'runtime/class_linker_test.cc')
0 files changed, 0 insertions, 0 deletions