PragmaTwice commented on issue #575: URL: https://github.com/apache/incubator-kvrocks/issues/575#issuecomment-1128369529
``` $ bat include/jemalloc/internal/jemalloc_internal_defs.h | rg "LG_(VADDR|PAGE)" #define LG_VADDR 48 /* One page is 2^LG_PAGE bytes. */ #define LG_PAGE 12 ``` These two macro definition in my side. Maybe the reason is that `0` can lead `RTREE_NSB` to be a negitive number. > In any case, if the value of the right operand is negative or is greater or equal to the number of bits in the promoted left operand, the behavior is undefined. Refer to https://en.cppreference.com/w/cpp/language/operator_arithmetic#Bitwise_shift_operators. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
