Shorten the property name as there appears to be a length limit for it.

This commit is contained in:
Ben Cheng
2009-06-19 17:13:36 -07:00
parent 5e492b4b00
commit e090f3bc9e

View File

@@ -721,7 +721,7 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
* Reverse the polarity of dalvik.vm.jit.op and force interpreter-only
* for non-selected opcodes.
*/
property_get("dalvik.vm.jit.includeselectedop", propBuf, "");
property_get("dalvik.vm.jit.includeop", propBuf, "");
if (strlen(propBuf) > 0) {
opt.optionString = "-Xincludeselectedop";
mOptions.add(opt);
@@ -741,7 +741,7 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
* Reverse the polarity of dalvik.vm.jit.method and force interpreter-only
* for non-selected methods.
*/
property_get("dalvik.vm.jit.includeselectedmethod", propBuf, "");
property_get("dalvik.vm.jit.includemethod", propBuf, "");
if (strlen(propBuf) > 0) {
opt.optionString = "-Xincludeselectedmethod";
mOptions.add(opt);