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

Commit 69c997a5 authored by Ben Cheng's avatar Ben Cheng
Browse files

Update a stale JIT option name.

Change-Id: I4b2f2c215a0258adf52861bac025e32df7f40b14
parent 478a745e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -704,10 +704,10 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)

#if defined(WITH_JIT)
    /* Minimal profile threshold to trigger JIT compilation */
    char jitThresholdBuf[sizeof("-Xthreshold:") + PROPERTY_VALUE_MAX];
    char jitThresholdBuf[sizeof("-Xjitthreshold:") + PROPERTY_VALUE_MAX];
    property_get("dalvik.vm.jit.threshold", propBuf, "");
    if (strlen(propBuf) > 0) {
        strcpy(jitThresholdBuf, "-Xthreshold:");
        strcpy(jitThresholdBuf, "-Xjitthreshold:");
        strcat(jitThresholdBuf, propBuf);
        opt.optionString = jitThresholdBuf;
        mOptions.add(opt);