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

Commit b965d092 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 7775

* changes:
  Add an option to enable JIT trace profiling for app_process.
parents 3e664221 0e01fbf7
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -746,6 +746,15 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
        opt.optionString = "-Xincludeselectedmethod";
        mOptions.add(opt);
    }

    /*
     * Enable profile collection on JIT'ed code.
     */
    property_get("dalvik.vm.jit.profile", propBuf, "");
    if (strlen(propBuf) > 0) {
        opt.optionString = "-Xjitprofile";
        mOptions.add(opt);
    }
#endif

    if (executionMode == kEMIntPortable) {