Fix IOBufQueue.ClearAndTryReuseLargestBuffer with jemalloc
Summary: `IOBuf` capacity can be rounded up if supported by the allocator, and the round-up is done including the size of the shared info struct in `createCombined()`, so requesting 8 and 16 can return buffers with the same capacity, breaking the test. Reviewed By: yfeldblum Differential Revision: D33004319 fbshipit-source-id: 2bfbeaf7249e89325f9d2b11aa844c1ae1b1ceca
Showing
Please register or sign in to comment