mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-07-22 20:53:07 +00:00
Move last bit of zone initialization in zone.c, and lazy-initialize
This commit is contained in:
@@ -717,17 +717,6 @@ malloc_init_hard(void)
|
||||
return (false);
|
||||
}
|
||||
|
||||
#ifdef JEMALLOC_ZONE
|
||||
JEMALLOC_ATTR(constructor)
|
||||
void
|
||||
jemalloc_darwin_init(void)
|
||||
{
|
||||
|
||||
if (malloc_init_hard() == false)
|
||||
register_zone();
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* End initialization functions.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user