mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 04:03:11 +00:00
The READ/WRITE/READONLY/WRITEONLY/VERIFY_READ/ASSURED_WRITE/MIB_UNSIGNED/ NEITHER_READ_NOR_WRITE/READ_XOR_WRITE macros hid control flow (goto label_return) inside the mallctl handlers. Convert them to memcpy-based helper functions. Add error-path tests for the converted handlers and direct unit tests for the helpers