Tracing
authorBen Gamari <ben@smart-cactus.org>
Thu, 16 May 2019 12:53:20 +0000 (08:53 -0400)
committerBen Gamari <ben@smart-cactus.org>
Tue, 21 May 2019 13:39:37 +0000 (09:39 -0400)
rts/sm/NonMovingMark.c
rts/sm/NonMovingSweep.c

index c049b08..02e490e 100644 (file)
@@ -1604,7 +1604,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;
@@ -1612,15 +1611,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 2ea1102..e70933f 100644 (file)
@@ -224,7 +224,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, {
@@ -240,5 +239,4 @@ void nonmovingSweepStableNameTable()
             }
         });
     stableNameUnlock();
-    trace(1, "EndNonmovingSweepStableNameTable")
 }