1.4.13 chunk大小

Breakpoint 1, slabs_init (limit=67108864, factor=1.25, prealloc=false) at slabs.c:100
100        unsigned int size = sizeof(item) + settings.chunk_size;
(gdb) p size
$1 = <value optimized out>
(gdb) n
102        mem_limit = limit;
(gdb) p size
$2 = <value optimized out>
(gdb) p sizeof(item)
$3 = 48
(gdb)  p settings.chunk_size
$4 = 48
(gdb)


你可能感兴趣的:(1.4.13 chunk大小)