DAPI-250, DAPI-251 - add support for several options, allowing changing of
allocator behaviour.