summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorCarl Shapiro <cshapiro@google.com>2010-08-05 20:24:40 -0700
committerCarl Shapiro <cshapiro@google.com>2010-08-05 20:24:40 -0700
commita8bc19901c4a48ad821f6bdd94ebbf7d145d573d (patch)
treef2fdc061a61a424ebde5068c4f369253e59ae76c /core
parentb423dac932df48de2ab6869824aca12b1966b8dd (diff)
downloadframeworks_base-a8bc19901c4a48ad821f6bdd94ebbf7d145d573d.zip
frameworks_base-a8bc19901c4a48ad821f6bdd94ebbf7d145d573d.tar.gz
frameworks_base-a8bc19901c4a48ad821f6bdd94ebbf7d145d573d.tar.bz2
Remove overwritefree property. The underlying flag no longer exists.
Change-Id: Iecd1710887a7b16536cdbd52846952cc72cc0727
Diffstat (limited to 'core')
-rw-r--r--core/jni/AndroidRuntime.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/jni/AndroidRuntime.cpp b/core/jni/AndroidRuntime.cpp
index b3b33fd..1e6d219 100644
--- a/core/jni/AndroidRuntime.cpp
+++ b/core/jni/AndroidRuntime.cpp
@@ -700,15 +700,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 debugging; set suspend=y to pause during VM init */
#ifdef HAVE_ANDROID_OS
/* use android ADB transport */