diff options
author | Qi Wang <interwq@gwu.edu> | 2017-06-22 23:18:30 (GMT) |
---|---|---|
committer | Qi Wang <interwq@gmail.com> | 2017-06-23 20:27:53 (GMT) |
commit | 425463a4465043f5f1ccb7f4b257e31ad95b1ed6 (patch) | |
tree | 16ebcb7782fd4d43fbbfff58f499db497caa5a1a /src/jemalloc.c | |
parent | d6eb8ac8f30745b06744ad5cb2988a392c4448cd (diff) | |
download | jemalloc-425463a4465043f5f1ccb7f4b257e31ad95b1ed6.zip jemalloc-425463a4465043f5f1ccb7f4b257e31ad95b1ed6.tar.gz jemalloc-425463a4465043f5f1ccb7f4b257e31ad95b1ed6.tar.bz2 |
Check arena in current context in pre_reentrancy.
Diffstat (limited to 'src/jemalloc.c')
-rw-r--r-- | src/jemalloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c index aa79633..7bf2310 100644 --- a/src/jemalloc.c +++ b/src/jemalloc.c @@ -1476,7 +1476,7 @@ malloc_init_hard(void) { malloc_mutex_lock(tsd_tsdn(tsd), &init_lock); /* Set reentrancy level to 1 during init. */ - pre_reentrancy(tsd); + pre_reentrancy(tsd, NULL); /* Initialize narenas before prof_boot2 (for allocation). */ if (malloc_init_narenas() || background_thread_boot1(tsd_tsdn(tsd))) { UNLOCK_RETURN(tsd_tsdn(tsd), true, true) |