summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2015-07-25 01:21:42 (GMT)
committerJason Evans <jasone@canonware.com>2015-07-25 01:39:14 (GMT)
commitd059b9d6a1ac3e7f834260ba001bf0d1599fb0bf (patch)
tree68780f70e4f9037966e80b388de301ccf2550e13 /test/integration
parent40cbd30d508b0d4e6462f5c36ffdbf6c1f29da22 (diff)
downloadjemalloc-d059b9d6a1ac3e7f834260ba001bf0d1599fb0bf.zip
jemalloc-d059b9d6a1ac3e7f834260ba001bf0d1599fb0bf.tar.gz
jemalloc-d059b9d6a1ac3e7f834260ba001bf0d1599fb0bf.tar.bz2
Implement support for non-coalescing maps on MinGW.
- Do not reallocate huge objects in place if the number of backing chunks would change. - Do not cache multi-chunk mappings. This resolves #213.
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/chunk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/chunk.c b/test/integration/chunk.c
index de45bc5..c94b2d4 100644
--- a/test/integration/chunk.c
+++ b/test/integration/chunk.c
@@ -63,9 +63,9 @@ TEST_BEGIN(test_chunk)
"Unexpected arenas.hchunk.2.size failure");
if (huge0 * 2 > huge2) {
/*
- * There are at least four size classes per doubling, so
- * xallocx() from size=huge2 to size=huge1 is guaranteed to
- * leave trailing purgeable memory.
+ * There are at least four size classes per doubling, so a
+ * successful xallocx() from size=huge2 to size=huge1 is
+ * guaranteed to leave trailing purgeable memory.
*/
p = mallocx(huge2, 0);
assert_ptr_not_null(p, "Unexpected mallocx() error");