OSDN Git Service

Make concurrent mark-and-sweep the default.
authorCarl Shapiro <cshapiro@google.com>
Mon, 12 Jul 2010 21:04:42 +0000 (14:04 -0700)
committerCarl Shapiro <cshapiro@google.com>
Mon, 12 Jul 2010 21:04:42 +0000 (14:04 -0700)
Change-Id: Ia889717a6889f86d20ca092bcea249048f7d2121

vm/Init.c

index ca54a64..d900f25 100644 (file)
--- a/vm/Init.c
+++ b/vm/Init.c
@@ -1045,6 +1045,8 @@ static void setCommandLineDefaults()
     gDvm.heapSizeMax = 16 * 1024 * 1024;    // Spec says 75% physical mem
     gDvm.stackSize = kDefaultStackSize;
 
+    gDvm.concurrentMarkSweep = true;
+
     /* gDvm.jdwpSuspend = true; */
 
     /* allowed unless zygote config doesn't allow it */