close some debug info
authorjzhou <jzhou>
Tue, 27 Oct 2009 20:30:35 +0000 (20:30 +0000)
committerjzhou <jzhou>
Tue, 27 Oct 2009 20:30:35 +0000 (20:30 +0000)
Robust/src/Runtime/multicoregarbage.c

index 78b3cf1dfaeaa7f5cbbb9510600cf91dd98b7bdd..d514567b23ddabe9d0b300de10894ff2a994af25 100644 (file)
@@ -2286,7 +2286,7 @@ inline void gc(struct garbagelist * stackptr) {
 
 #ifdef GC_DEBUG
                tprintf("start gc! \n");
-               dumpSMem();
+               //dumpSMem();
 #endif
 
                gcprocessing = true;
@@ -2419,14 +2419,14 @@ inline void gc(struct garbagelist * stackptr) {
                bool localcompact = true;
                while((COMPACTPHASE == gcphase) || (SUBTLECOMPACTPHASE == gcphase)) {
                        if((!finishcompact) && iscontinue) {
-#ifdef GC_DEBUG
+#ifdef DEBUG
                                BAMBOO_DEBUGPRINT(0xe001);
                                BAMBOO_DEBUGPRINT_REG(numpbc);
                                BAMBOO_DEBUGPRINT_REG(gcblock2fill);
 #endif
                                finishcompact = compacthelper(orig, to, &filledblocks, 
                                                                          &heaptopptr, &localcompact);
-#ifdef GC_DEBUG
+#ifdef DEBUG
                                BAMBOO_DEBUGPRINT(0xe002);
                                BAMBOO_DEBUGPRINT_REG(finishcompact);
                                BAMBOO_DEBUGPRINT_REG(gctomove);
@@ -2535,7 +2535,7 @@ inline void gc(struct garbagelist * stackptr) {
                }
 #ifdef GC_DEBUG
                tprintf("gc finished \n");
-               dumpSMem();
+               //dumpSMem();
 #endif
        } else {
                gcprocessing = true;