From 3f967910d99254f166dea7e1439b6d5441f046d8 Mon Sep 17 00:00:00 2001 From: Calin Juravle Date: Tue, 10 Jun 2014 14:52:24 +0100 Subject: [PATCH] Improved profile.start-immediately comment Change-Id: I41bda6a1cd99cb0a8230961e0462a41cb552887e --- core/jni/AndroidRuntime.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp index 5e7d6efc1482e..987033f31e3ab 100644 --- a/core/jni/AndroidRuntime.cpp +++ b/core/jni/AndroidRuntime.cpp @@ -820,7 +820,8 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv) mOptions.add(opt); } - // Whether the profile should start upon app startup or be delayed by some random offset. + // Whether the profile should start upon app startup or be delayed by some random offset + // (in seconds) that is bound between 0 and a fixed value. property_get("dalvik.vm.profile.start-immediately", propBuf, "0"); if (propBuf[0] == '1') { opt.optionString = "-Xprofile-start-immediately";