summaryrefslogtreecommitdiffstats
path: root/jemalloc/src/chunk.c
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2010-12-04 01:05:01 (GMT)
committerJason Evans <je@fb.com>2010-12-04 01:05:01 (GMT)
commit1c4b088b08d3bc7617a34387e196ce03716160bf (patch)
treeff0edcf0e21d136ddf6ffda51b1a205d9f12e646 /jemalloc/src/chunk.c
parent0a36622dd1e2e7da0b833e161ec79398bc30cd5b (diff)
parent0e8d3d2cb9b3c9048b43588271a1e3a837ab186e (diff)
downloadjemalloc-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.c10
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);
}