jemalloc/include/jemalloc
Slobodan Predolac 959c4f387f Fix missing negation in large_ralloc_no_move usize_min fallback
The second expansion attempt in large_ralloc_no_move omitted the !
before large_ralloc_no_move_expand(), inverting the return value.
On expansion failure, the function falsely reported success, making
callers believe the allocation was expanded in-place when it was not.
On expansion success, the function falsely reported failure, causing
callers to unnecessarily allocate, copy, and free.

Add unit test that verifies the return value matches actual size change.
2026-04-01 13:29:51 -07:00
..
internal Fix missing negation in large_ralloc_no_move usize_min fallback 2026-04-01 13:29:51 -07:00
jemalloc.sh Move `extern "C" specifications for C++ to where they are needed 2025-03-31 10:41:51 -07:00
jemalloc_defs.h.in Disable config from file or envvar with build flag 2025-02-05 15:01:50 -08:00
jemalloc_macros.h.in Make JEMALLOC_CXX_THROW definition compatible with newer C++ versions 2024-06-13 11:03:05 -07:00
jemalloc_mangle.sh jemalloc_mangle.sh: set sh in strict mode 2017-12-11 23:35:20 -08:00
jemalloc_protos.h.in Move `extern "C" specifications for C++ to where they are needed 2025-03-31 10:41:51 -07:00
jemalloc_rename.sh Fix name mangling for stress tests. 2014-01-16 17:38:01 -08:00
jemalloc_typedefs.h.in Move `extern "C" specifications for C++ to where they are needed 2025-03-31 10:41:51 -07:00