summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-06-10 14:52:24 +0100
committerCalin Juravle <calin@google.com>2014-06-10 14:52:24 +0100
commit3f967910d99254f166dea7e1439b6d5441f046d8 (patch)
tree3adaf8184cfb5ab9f438994d8d8801e9905294e9
parentde99f08f658c13ae8e0cd46f7bebc78311585bf2 (diff)
downloadbase-3f967910d99254f166dea7e1439b6d5441f046d8.tar.gz
Improved profile.start-immediately comment
Change-Id: I41bda6a1cd99cb0a8230961e0462a41cb552887e
-rw-r--r--core/jni/AndroidRuntime.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp
index 5e7d6efc1482..987033f31e3a 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";