An allocation error. This could be a genuine std::bad_alloc from the global allocator, or it can be an internal allocation error from the backing cachelib item.
| 79 | // the global allocator, or it can be an internal allocation error |
| 80 | // from the backing cachelib item. |
| 81 | class ObjectCacheAllocationError : public OutOfMemory { |
| 82 | public: |
| 83 | using OutOfMemory::OutOfMemory; |
| 84 | }; |
| 85 | |
| 86 | // Bad arguments were fed into deallocate(). This indicates the alloc |
| 87 | // argument was invalid, or the size was different from the originally |
no outgoing calls