if (CHashPtrIsInvalid(garbage))
;
else if (!__sync_bool_compare_and_swap(b, garbage, InvalidCHashPtr))
- ++table->stats.s_gc_pop_fail;
+ table->stats.s_gc_pop_fail++;
else
{
uint64 chash_bucket;
n->un.gcnext = oldhead;
if (__sync_bool_compare_and_swap(b, oldhead, fhead))
break;
- ++table->stats.s_gc_reclaim_retry;
+ table->stats.s_gc_reclaim_retry++;
}
}
n->un.gcnext = g;
if (__sync_bool_compare_and_swap(garbage, g, c))
break;
- ++table->stats.s_garbage_retry;
+ table->stats.s_garbage_retry++;
}
}
n->un.gcnext = f;
if (__sync_bool_compare_and_swap(free, f, c))
break;
- ++table->stats.s_free_retry;
+ table->stats.s_free_retry++;
}
}