diff options
author | Ben Cheng <bccheng@android.com> | 2010-03-24 16:15:43 -0700 |
---|---|---|
committer | Ben Cheng <bccheng@android.com> | 2010-03-24 16:15:43 -0700 |
commit | 69c997a5c603c3cc56cbfdacd72cbe9993c5f053 (patch) | |
tree | e4e2c5cd863d5cbdff9cd587a96fe37e26ca90ad | |
parent | 478a745e8421497bad9ea0cbd75bc4d4d419ef60 (diff) | |
download | frameworks_base-69c997a5c603c3cc56cbfdacd72cbe9993c5f053.zip frameworks_base-69c997a5c603c3cc56cbfdacd72cbe9993c5f053.tar.gz frameworks_base-69c997a5c603c3cc56cbfdacd72cbe9993c5f053.tar.bz2 |
Update a stale JIT option name.
Change-Id: I4b2f2c215a0258adf52861bac025e32df7f40b14
-rw-r--r-- | core/jni/AndroidRuntime.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp index 5546666..7f8e854 100644 --- a/core/jni/AndroidRuntime.cpp +++ b/core/jni/AndroidRuntime.cpp @@ -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); |