summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorzhangjianqiu <zhangjianqiu@oppo.com>2021-11-16 16:46:13 +0800
committeralk3pInjection <webmaster@raspii.tech>2022-05-07 00:20:58 +0800
commitcc4f6927c0bf5a4be5142b1f44657750e0342df7 (patch)
tree0138c7cebb8e464d034ee825b0aa08ca1cf52694 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7f9645cd494b4a0d3cabcbe45e9a900dddfbfe02 (diff)
Zygote: Fix an issue when empty the usap pool.
When empty the usap pool, the usap processes may be blocked by usapPoolSocket.accept(), which cause the usap process fail to kill immediately. So we can move the position of blockSigTerm after usapPoolsSocket.accept() and delele the old blockSigTerm in the while loop. Test: manual test. 1.setprop persist.device_config.runtime_native.usap_pool_enabled true. After 1 min, trigger fill usap pools. 2.setprop persist.device_config.runtime_native.usap_pool_enabled false. After 1 min, trigger empty usap pools. 3.repeat step 1. Signed-off-by: zhangjianqiu <zhangjianqiu@oppo.com> Change-Id: I657940b30f71cdc717c673be6d70738e61e2bb68
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions