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:
parent
a9fa2defdb
commit
f9bb8dedef
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user