diff options
| author | 2010-09-16 16:26:52 -0700 | |
|---|---|---|
| committer | 2010-09-16 16:48:21 -0700 | |
| commit | 4b164c1bf3592d4d83d93a5de58bb09676f1462c (patch) | |
| tree | 29c24c182ba814c5c68fb01d74bd3501d3901fc7 | |
| parent | a7516e90d01a22d17a470695eefa905e0ff066cc (diff) | |
Kill off the remaining GC-specific system properties.
Change-Id: Ib09ef132c6fb99b9eb22ecfd75a910c9c0f01e25
| -rw-r--r-- | core/jni/AndroidRuntime.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp index 2751a8228f6c..17ab46cce804 100644 --- a/core/jni/AndroidRuntime.cpp +++ b/core/jni/AndroidRuntime.cpp @@ -703,42 +703,6 @@ int AndroidRuntime::startVm(JavaVM** pJavaVM, JNIEnv** pEnv) } } - /* enable poisoning of memory of freed objects */ - property_get("dalvik.vm.gc.overwritefree", propBuf, "false"); - if (strcmp(propBuf, "true") == 0) { - opt.optionString = "-Xgc:overwritefree"; - mOptions.add(opt); - } else if (strcmp(propBuf, "false") != 0) { - LOGW("dalvik.vm.gc.overwritefree should be 'true' or 'false'"); - } - - /* enable heap verification before each gc */ - property_get("dalvik.vm.gc.preverify", propBuf, "false"); - if (strcmp(propBuf, "true") == 0) { - opt.optionString = "-Xgc:preverify"; - mOptions.add(opt); - } else if (strcmp(propBuf, "false") != 0) { - LOGW("dalvik.vm.gc.preverify should be 'true' or 'false'"); - } - - /* enable heap verification after each gc */ - property_get("dalvik.vm.gc.postverify", propBuf, "false"); - if (strcmp(propBuf, "true") == 0) { - opt.optionString = "-Xgc:postverify"; - mOptions.add(opt); - } else if (strcmp(propBuf, "false") != 0) { - LOGW("dalvik.vm.gc.postverify should be 'true' or 'false'"); - } - - /* enable card table verification for partial gc */ - property_get("dalvik.vm.gc.verifycardtable", propBuf, "false"); - if (strcmp(propBuf, "true") == 0) { - opt.optionString = "-Xgc:verifycardtable"; - mOptions.add(opt); - } else if (strcmp(propBuf, "false") != 0) { - LOGW("dalvik.vm.gc.verifycardtable should be 'true' or 'false'"); - } - /* enable debugging; set suspend=y to pause during VM init */ #ifdef HAVE_ANDROID_OS /* use android ADB transport */ |