Cleanup of the primitive collections hierarchy and off-heap alternatives