Add temporary debugging in case we need it again

parent 0a1e8cb7
......@@ -5337,6 +5337,13 @@ fellow_busy_obj_getspace(struct fellow_busy *fbo, size_t *sz, uint8_t **ptr)
assert(fbo->body_seglist->fdsl->nsegs <=
fbo->body_seglist->fdsl->lsegs);
#ifdef GETSPACE_PRINTF_DBG
fprintf(stderr, "%p sz %zu/0x%zx spc 0x%zx est 0x%zx inc 0x%zx grow %u "
"fll.disk_size 0x%zx cram %d chunk %u\n",
fbo, *sz, *sz, spc, fbo->sz_estimate, fbo->sz_increment, fbo->growing,
fbo->fll.disk_size, fbo->fll.disk_cram, fbo->fll.chunk_exponent);
#endif
*sz = spc;
*ptr = fcs->alloc.ptr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment