diff options
| author | Jason Evans <je@fb.com> | 2010-12-04 01:05:01 (GMT) |
|---|---|---|
| committer | Jason Evans <je@fb.com> | 2010-12-04 01:05:01 (GMT) |
| commit | 1c4b088b08d3bc7617a34387e196ce03716160bf (patch) | |
| tree | ff0edcf0e21d136ddf6ffda51b1a205d9f12e646 /jemalloc/src/chunk.c | |
| parent | 0a36622dd1e2e7da0b833e161ec79398bc30cd5b (diff) | |
| parent | 0e8d3d2cb9b3c9048b43588271a1e3a837ab186e (diff) | |
| download | jemalloc-2.1.0.zip jemalloc-2.1.0.tar.gz jemalloc-2.1.0.tar.bz2 | |
Merge branch 'dev'2.1.0
Diffstat (limited to 'jemalloc/src/chunk.c')
| -rw-r--r-- | jemalloc/src/chunk.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/jemalloc/src/chunk.c b/jemalloc/src/chunk.c index 00bf50a..301519e 100644 --- a/jemalloc/src/chunk.c +++ b/jemalloc/src/chunk.c @@ -146,11 +146,6 @@ chunk_boot(void) chunksize_mask = chunksize - 1; chunk_npages = (chunksize >> PAGE_SHIFT); -#ifdef JEMALLOC_IVSALLOC - chunks_rtree = rtree_new((ZU(1) << (LG_SIZEOF_PTR+3)) - opt_lg_chunk); - if (chunks_rtree == NULL) - return (true); -#endif #if (defined(JEMALLOC_STATS) || defined(JEMALLOC_PROF)) if (malloc_mutex_init(&chunks_mtx)) return (true); @@ -166,6 +161,11 @@ chunk_boot(void) if (chunk_dss_boot()) return (true); #endif +#ifdef JEMALLOC_IVSALLOC + chunks_rtree = rtree_new((ZU(1) << (LG_SIZEOF_PTR+3)) - opt_lg_chunk); + if (chunks_rtree == NULL) + return (true); +#endif return (false); } |
