remove malloc_init() off the fastpath

This commit is contained in:
Dave Watson
2018-10-03 14:47:31 -07:00
parent 997d86acc6
commit 325e3305fc
4 changed files with 23 additions and 10 deletions

View File

@@ -47,7 +47,6 @@ tsd_get_allocates(void) {
/* Get/set. */
JEMALLOC_ALWAYS_INLINE tsd_t *
tsd_get(bool init) {
assert(tsd_booted);
return &tsd_tls;
}
JEMALLOC_ALWAYS_INLINE void

View File

@@ -40,7 +40,6 @@ tsd_get_allocates(void) {
/* Get/set. */
JEMALLOC_ALWAYS_INLINE tsd_t *
tsd_get(bool init) {
assert(tsd_booted);
return &tsd_tls;
}