mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-19 18:35:39 +03:00
Make special FreeBSD function overrides visible.
Make special FreeBSD libc/libthr function overrides for _malloc_prefork(), _malloc_postfork(), and _malloc_thread_cleanup() visible.
This commit is contained in:
parent
1ad56385ad
commit
86e58583bb
3 changed files with 6 additions and 0 deletions
|
|
@ -1621,6 +1621,7 @@ je_nallocm(size_t *rsize, size_t size, int flags)
|
|||
void
|
||||
jemalloc_prefork(void)
|
||||
#else
|
||||
JEMALLOC_ATTR(visibility("default"))
|
||||
void
|
||||
_malloc_prefork(void)
|
||||
#endif
|
||||
|
|
@ -1642,6 +1643,7 @@ _malloc_prefork(void)
|
|||
void
|
||||
jemalloc_postfork_parent(void)
|
||||
#else
|
||||
JEMALLOC_ATTR(visibility("default"))
|
||||
void
|
||||
_malloc_postfork(void)
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue