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

Commit 135445ab authored by Calin Juravle's avatar Calin Juravle Committed by android-build-merger
Browse files

Merge "Process "dalvik.vm.profilebootimage" system property" am: dc3fe53d

am: 46940a60

Change-Id: I67ca970bc51f8be39806183ecb55528768eff9b7
parents ed32ad00 46940a60
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -737,6 +737,12 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv, bool zygote)
                       jittransitionweightOptBuf,
                       "-Xjittransitionweight:");

    property_get("dalvik.vm.profilebootimage", propBuf, "");
    if (strcmp(propBuf, "true") == 0) {
        addOption("-Xps-profile-boot-class-path");
        addOption("-Xps-profile-aot-code");
    }

    /*
     * Madvise related options.
     */