summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorzfu <zfu@codeaurora.org>2017-11-03 15:02:21 +0800
committerzfu <zfu@codeaurora.org>2018-04-20 10:02:29 +0800
commitcb1d176465257b47f5e836f3c4f51f0c4f132990 (patch)
tree1bf109c145d4c0d05f4b39016b018467d0be063a /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4481c1bedc2fac979391200d25d5767cde8c7dc1 (diff)
Ensure cgroup.procs in the same cgroup
cgroup is managed by AMS, when AMS change cgroup of a task, it ignored other processes in the same process group if a foreground app call fork at JNI and then switch to background, children processes will keep foreground priority and out of control dex2oat is a real world example that foreground app call exec dex2oat to compile dexfile, when the parent process switch to background cgroup, dex2oat will not follow it, foreground cgroup allows background dex2oat hold huge of CPU resources, it may impact UX of foreground apps Properties to control: ro.vendor.qti.cgroup_follow.enable to enable/disable this feature ro.vendor.qti.cgroup_follow.dex2oat_only to use for all or dex2oat only CRs-Fixed: 2139112 Change-Id: I890a11468a4e419a20611ab5f48de2720ed20e15
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions