mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-15 15:11:41 +03:00
remove malloc_init() off the fastpath
This commit is contained in:
parent
997d86acc6
commit
325e3305fc
4 changed files with 23 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue