pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:994:    putc(']', stderr);    }    putc('\n', stderr);    }    else    fprintf(stderr, "no marker\n");   }      #endif /* PIKE_DEBUG */    - static void debug_gc_fatal_va (void *a, int type, int flags, + static void debug_gc_fatal_va (void *DEBUGUSED(a), int DEBUGUSED(type), int DEBUGUSED(flags),    const char *fmt, va_list args)   {    int orig_gc_pass = Pike_in_gc;       (void) VFPRINTF(stderr, fmt, args);      #ifdef PIKE_DEBUG    if (a) {    void *inblock;    /* Temporarily jumping out of gc to avoid being caught in debug
pike.git/src/gc.c:3419: Inside #if 0
   else *obj_arr_ = resize_array(*obj_arr_, 0);    }    if (!p) break;    }    }   #endif       CALL_AND_UNSET_ONERROR(tmp);   }    - size_t do_gc(void *ignored, int explicit_call) + size_t do_gc(void *UNUSED(ignored), int explicit_call)   {    ALLOC_COUNT_TYPE start_allocs;    size_t start_num_objs, unreferenced;    cpu_time_t gc_start_time, gc_start_real_time;    ptrdiff_t objs, pre_kill_objs;   #if defined (PIKE_DEBUG) || defined (DO_PIKE_CLEANUP)    unsigned destroy_count;   #endif   #ifdef PIKE_DEBUG    unsigned obj_count;
pike.git/src/gc.c:5135:    assert (ref_to->la_count >= old_la_count);    if (ref_to->la_count > old_la_count) {    mc_wq_enqueue (ref_to);    MC_DEBUG_MSG (ref_to, "enqueued");    mc_enqueued_noninternal = 1;    }    else    MC_DEBUG_MSG (ref_to, "not enqueued");   }    - static void pass_mark_external_visit_ref (void *thing, int ref_type, -  visit_thing_fn *visit_fn, void *extra) + static void pass_mark_external_visit_ref (void *thing, int UNUSED(ref_type), +  visit_thing_fn *UNUSED(visit_fn), void *UNUSED(extra))   {    struct mc_marker *ref_to = find_mc_marker (thing);       assert (mc_pass == MC_PASS_MARK_EXTERNAL);       if (ref_to) {    if ((ref_to->flags & (MC_FLAG_INT_VISITED | MC_FLAG_LA_VISITED)) ==    MC_FLAG_LA_VISITED) {    /* Only interested in existing lookahead things, except those on    * the "fringe" that haven't been visited. */