Merge "Remove code to pass the nonexistant lockprofsample flag to Dalvik." into froyo

This commit is contained in:
Carl Shapiro
2010-04-20 11:42:39 -07:00
committed by Android (Google) Code Review

View File

@@ -712,15 +712,6 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv)
mOptions.add(opt);
}
char lockProfSampleBuf[sizeof("-Xlockprofsample:") + sizeof(propBuf)];
property_get("dalvik.vm.lockprof.sample", propBuf, "");
if (strlen(propBuf) > 0) {
strcpy(lockProfSampleBuf, "-Xlockprofsample:");
strcat(lockProfSampleBuf, propBuf);
opt.optionString = lockProfSampleBuf;
mOptions.add(opt);
}
#if defined(WITH_JIT)
/* Minimal profile threshold to trigger JIT compilation */
char jitThresholdBuf[sizeof("-Xjitthreshold:") + PROPERTY_VALUE_MAX];