Defer all initialization until allocation in IndexedMemPool
Summary: [Folly] Defer all initialization until allocation in `IndexedMemPool`. This provides a better guarantee that the constructor never dirties the allocated region by accidentally direct-initializing rather than default-initializing the linked list pointers in the mapped region. Reviewed By: davidtgoldblatt Differential Revision: D13046558 fbshipit-source-id: 1bde547525e2502607d01e68206d7f8c826baebd
Showing
Please register or sign in to comment