Fix IOBufQueue::preallocate for callers who really wanted a hard max
Summary: D633912 broke unicorn because it relied on preallocate having a hard max. Add an optional hard max parameter and rename maxHint to newAllocationSize. Pass the hard max in for unicorn Test Plan: folly and unicorn unit tests Reviewed By: tudorb@fb.com FB internal diff: D634894
Showing
Please register or sign in to comment