summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Evans <je@fb.com>2012-03-13 18:09:23 (GMT)
committerJason Evans <je@fb.com>2012-03-13 18:09:23 (GMT)
commit4c2faa8a7c42a47a6bea509f5a23234bc5a66d40 (patch)
tree462b5b25be7ed29f96b151d7500087a450d96deb /src
parenteb2398106fd1b43989c12796eb706aea79b11859 (diff)
downloadjemalloc-4c2faa8a7c42a47a6bea509f5a23234bc5a66d40.zip
jemalloc-4c2faa8a7c42a47a6bea509f5a23234bc5a66d40.tar.gz
jemalloc-4c2faa8a7c42a47a6bea509f5a23234bc5a66d40.tar.bz2
Fix a regression in JE_COMPILABLE().
Revert JE_COMPILABLE() so that it detects link errors. Cross-compiling should still work as long as a valid configure cache is provided. Clean up some comments/whitespace.
Diffstat (limited to 'src')
-rw-r--r--src/jemalloc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/jemalloc.c b/src/jemalloc.c
index e148ae0..f564b65 100644
--- a/src/jemalloc.c
+++ b/src/jemalloc.c
@@ -101,10 +101,7 @@ arenas_extend(unsigned ind)
return (arenas[0]);
}
-/*
- * Choose an arena based on a per-thread value (slow-path code only, called
- * only by choose_arena()).
- */
+/* Slow path, called only by choose_arena(). */
arena_t *
choose_arena_hard(void)
{