summaryrefslogtreecommitdiff
path: root/core/java/android/os/ZygoteProcess.java
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2019-07-05 15:58:42 +0100
committerNicolas Geoffray <ngeoffray@google.com>2019-07-05 15:58:42 +0100
commit9abc6d098a77bd515749435c7637afd85f5fe15c (patch)
tree91de80d01beb63ba3fc79e452a64f7c8fc54a944 /core/java/android/os/ZygoteProcess.java
parent9cc96185603e80516708ac8501f9b4e5dd575655 (diff)
Remove time delay for usap process in jit zygote mode.
Not needed anymore now that all processes share the same JIT code. Bug: 119800099 Test: boots Change-Id: Icbc85e385f43c0dc1a273d6da271dfe47c8e12b8
Diffstat (limited to 'core/java/android/os/ZygoteProcess.java')
-rw-r--r--core/java/android/os/ZygoteProcess.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/java/android/os/ZygoteProcess.java b/core/java/android/os/ZygoteProcess.java
index a32b7c6021bb..cdd0d45624b7 100644
--- a/core/java/android/os/ZygoteProcess.java
+++ b/core/java/android/os/ZygoteProcess.java
@@ -671,16 +671,6 @@ public class ZygoteProcess {
private boolean fetchUsapPoolEnabledPropWithMinInterval() {
final long currentTimestamp = SystemClock.elapsedRealtime();
- if (SystemProperties.get("dalvik.vm.boot-image", "").endsWith("apex.art")) {
- // TODO(b/119800099): In jitzygote mode, we want to start using USAP processes
- // only once the boot classpath has been compiled. There is currently no callback
- // from the runtime to notify the zygote about end of compilation, so for now just
- // arbitrarily start USAP processes 15 seconds after boot.
- if (currentTimestamp <= 15000) {
- return false;
- }
- }
-
if (mIsFirstPropCheck
|| (currentTimestamp - mLastPropCheckTimestamp >= Zygote.PROPERTY_CHECK_INTERVAL)) {
mIsFirstPropCheck = false;