pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:5743:    mc_pass = MC_PASS_LOOKAHEAD;       while ((mc_ref_from = mc_wq_dequeue())) {    int action;       assert (!(mc_ref_from->flags & MC_FLAG_INT_VISITED));       if (mc_ref_from->flags & MC_FLAG_INTERNAL) {    action = VISIT_COUNT_BYTES; /* Memory count this. */    MC_DEBUG_MSG (NULL, "enter with byte counting"); +  if (mc_lookahead < 0) { +  MC_DEBUG_MSG (NULL, "VISIT_NO_REFS mode"); +  action |= VISIT_NO_REFS; +  }       mc_ref_from->visit_fn (mc_ref_from->thing, action, mc_ref_from->extra);    count_visits++;       if (mc_ref_from->flags & MC_FLAG_LA_VISITED) {    count_revisits++;    DL_REMOVE (mc_ref_from);    MC_DEBUG_MSG (NULL, "leave - removed from list");    }    else {