* commit '5fc4e487420b7730c9eaf2623ff1efd2633daba7': Improved profile.start-immediately comment
This commit is contained in:
@@ -825,7 +825,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";
|
||||
|
||||
Reference in New Issue
Block a user