| 811 | allocator_->freeContiguous(allocation); |
| 812 | BOLT_CHECK(allocation.empty()); |
| 813 | release(bytesToFree); |
| 814 | } |
| 815 | |
| 816 | void MemoryPoolImpl::growContiguous( |
| 817 | MachinePageCount increment, |
| 818 | ContiguousAllocation& allocation) { |
| 819 | const void* oldAddr = allocation.data(); |
| 820 | const uint64_t oldSize = allocation.size(); |
| 821 | if (!allocator_->growContiguous( |
| 822 | increment, allocation, [this](uint64_t allocBytes, bool preAlloc) { |
| 823 | if (preAlloc) { |