Tracing
authorBen Gamari <ben@smart-cactus.org>
Thu, 16 May 2019 12:53:20 +0000 (08:53 -0400)
committerBen Gamari <ben@smart-cactus.org>
Wed, 19 Jun 2019 01:44:00 +0000 (21:44 -0400)
rts/sm/NonMovingMark.c
rts/sm/NonMovingSweep.c

index 16b9e2d..aca3429 100644 (file)
@@ -1644,7 +1644,6 @@ nonmovingMark (MarkQueue *queue)
         case NULL_ENTRY:
             // Perhaps the update remembered set has more to mark...
             if (upd_rem_set_block_list) {
-                trace(1, "Starting taking updremset");
                 ACQUIRE_LOCK(&upd_rem_set_lock);
                 bdescr *old = queue->blocks;
                 queue->blocks = upd_rem_set_block_list;
@@ -1652,15 +1651,12 @@ nonmovingMark (MarkQueue *queue)
                 upd_rem_set_block_list = NULL;
                 RELEASE_LOCK(&upd_rem_set_lock);
 
-                trace(1, "Currently taking updremset");
                 ACQUIRE_SM_LOCK;
                 freeGroup(old);
                 RELEASE_SM_LOCK;
-                trace(1, "Finished taking updremset");
             } else {
                 // Nothing more to do
                 debugTrace(DEBUG_nonmoving_gc, "Finished mark pass: %d", count);
-                trace(1, "Finished mark pass");
                 traceConcMarkEnd(count);
                 return;
             }
index 449c3f4..9571fbd 100644 (file)
@@ -240,7 +240,6 @@ void nonmovingSweepStableNameTable()
     // a stable name can die during moving heap collection and we can't use
     // nonmovingIsAlive on those objects. Inefficient.
 
-    trace(1, "StartNonmovingSweepStableNameTable")
     stableNameLock();
     FOR_EACH_STABLE_NAME(
         p, {
@@ -256,5 +255,4 @@ void nonmovingSweepStableNameTable()
             }
         });
     stableNameUnlock();
-    trace(1, "EndNonmovingSweepStableNameTable")
 }