commit | 3dcd844cccf35dc8d66117bd77de16fc68c86e4b | [log] [tgz] |
---|---|---|
author | zengkaifa <zengkaifa@oppo.com> | Fri Sep 17 09:51:57 2021 +0800 |
committer | Lokesh Gidra <lokeshgidra@google.com> | Wed Sep 29 19:45:48 2021 +0000 |
tree | 76584fcaa03d6927765bbaaf06e7ed86b9ab970b | |
parent | 145fce1b7bdee2bfc205b767d558b4ef09bbde22 [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