A system and method of squeezing slabs of memory empty are provided. A
slab is a block of allocated memory space that is dedicated to holding
one type of data. When it is determined that a slab of memory is to be
squeezed empty, no object may be allocated from the slab. That is, new
data is precluded from being placed in any unused space of the slab.
Further, data is also precluded from being placed in any space in the
slab that becomes unused anytime thereafter. When the slab becomes empty,
the slab is de-allocated.