pike.git / src / gc.c

version» Context lines:

pike.git/src/gc.c:4678:    m->thing = thing;    m->visit_fn = visit_fn;    m->extra = extra;    m->int_refs = m->la_refs = m->flags = 0;    INIT_CLEARED_EXTERNAL (m);    m->queuepos = MAX_UINT32;   #ifdef PIKE_DEBUG    m->dl_prev = m->dl_next = (void *) (ptrdiff_t) -1;    m->la_count = ((unsigned INT16) -1) >> 1;   #endif +  assert(find_mc_marker(thing) == m);    return m;   }      #ifdef MEMORY_COUNT_DEBUG   static void describe_mc_marker (struct mc_marker *m)   {    fprintf (stderr, "%s %p: refs %d, int %d, la %d, cnt %d",    get_name_of_type (type_from_visit_fn (m->visit_fn)),    m->thing, *(INT32 *) m->thing, m->int_refs, m->la_refs, m->la_count);    if (m->queuepos != MAX_UINT32) fprintf (stderr, ", wq %u", m->queuepos);