Merge "Disable USAP when running in jitzygote mode." into qt-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5e05627687
@@ -646,9 +646,14 @@ public class ZygoteProcess {
|
||||
ZygoteConfig.USAP_POOL_ENABLED, USAP_POOL_ENABLED_DEFAULT);
|
||||
|
||||
if (!propertyString.isEmpty()) {
|
||||
mUsapPoolEnabled = Zygote.getConfigurationPropertyBoolean(
|
||||
if (SystemProperties.get("dalvik.vm.boot-image", "").endsWith("apex.art")) {
|
||||
// TODO(b/119800099): Tweak usap configuration in jitzygote mode.
|
||||
mUsapPoolEnabled = false;
|
||||
} else {
|
||||
mUsapPoolEnabled = Zygote.getConfigurationPropertyBoolean(
|
||||
ZygoteConfig.USAP_POOL_ENABLED,
|
||||
Boolean.parseBoolean(USAP_POOL_ENABLED_DEFAULT));
|
||||
}
|
||||
}
|
||||
|
||||
boolean valueChanged = origVal != mUsapPoolEnabled;
|
||||
|
||||
Reference in New Issue
Block a user