Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 66e29d08 authored by Calin Juravle's avatar Calin Juravle Committed by Android Git Automerger
Browse files

am ee20e16d: am 337f97be: am 97f7f24c: Merge "Fixed comments related to profile properties."

* commit 'ee20e16d':
  Fixed comments related to profile properties.
parents cc62d9ad ee20e16d
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -818,13 +818,14 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
     * Set profiler options
     */
    if (libart) {
        // Number of seconds during profile runs.
        // Whether or not the profiler should be enabled.
        property_get("dalvik.vm.profiler", propBuf, "0");
        if (propBuf[0] == '1') {
            opt.optionString = "-Xenable-profiler";
            mOptions.add(opt);
        }

        // Whether the profile should start upon app startup or be delayed by some random offset.
        property_get("dalvik.vm.profile.start-immediately", propBuf, "0");
        if (propBuf[0] == '1') {
            opt.optionString = "-Xprofile-start-immediately";