Increase refcount size
Summary: The refcounting logic is correct, however, decreasing the next node's refcount only happens in ~NodeT, after going through hazptr bulkReclaim. The current default for bulkReclaim is 1k, which exceeds the value of refcount uint8_t. Increase size to uint16_t so that we don't wrap refcount before bulkReclaim calls the node destructors. Reviewed By: magedm Differential Revision: D6900530 fbshipit-source-id: 9b2530dc6cd0609b4795b909fd46aeffbb1ae821
Showing
Please register or sign in to comment