Attempts to resize a previously allocated block of memory in place.
This is possible only if ptr points to the beginning of the last
block allocated by this RegionAllocator instance and, in the
case where newSize is greater than the old size, there is
additional space in the segment that ptr was allocated from.
Additionally, blocks larger than this RegionAllocator's segment size
cannot be grown or shrunk.
Attempts to resize a previously allocated block of memory in place. This is possible only if ptr points to the beginning of the last block allocated by this RegionAllocator instance and, in the case where newSize is greater than the old size, there is additional space in the segment that ptr was allocated from. Additionally, blocks larger than this RegionAllocator's segment size cannot be grown or shrunk.