Un-force-inline do_rallocx.

The additional overhead of the function-call setup and flags checking is
relatively small, but costs us the replication of the entire realloc pathway in
terms of size.
This commit is contained in:
David Goldblatt 2020-12-17 12:16:38 -08:00 committed by David Goldblatt
parent a9fa2defdb
commit f9bb8dedef

View File

@ -3418,7 +3418,7 @@ irallocx_prof(tsd_t *tsd, void *old_ptr, size_t old_usize, size_t size,
return p; return p;
} }
JEMALLOC_ALWAYS_INLINE void * static void *
do_rallocx(void *ptr, size_t size, int flags, bool is_realloc) { do_rallocx(void *ptr, size_t size, int flags, bool is_realloc) {
void *p; void *p;
tsd_t *tsd; tsd_t *tsd;