diff options
| -rw-r--r-- | core/jni/AndroidRuntime.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp index 6660c276e9a8..9fbf1718dbc8 100644 --- a/core/jni/AndroidRuntime.cpp +++ b/core/jni/AndroidRuntime.cpp @@ -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]; |