aboutsummaryrefslogtreecommitdiffstats
path: root/include/jemalloc
diff options
context:
space:
mode:
authorJason Evans <jasone@canonware.com>2016-06-01 13:53:56 -0700
committerJason Evans <jasone@canonware.com>2016-06-05 20:42:24 -0700
commitc8c3cbdf47f97c2661395efc572b12ff2a7de05f (patch)
tree160b62faab81fd648828998d9339ce9797d8d12d /include/jemalloc
parenta43db1c6088914d1a488abb93315e858c018419b (diff)
downloadplatform_external_jemalloc_new-c8c3cbdf47f97c2661395efc572b12ff2a7de05f.tar.gz
platform_external_jemalloc_new-c8c3cbdf47f97c2661395efc572b12ff2a7de05f.tar.bz2
platform_external_jemalloc_new-c8c3cbdf47f97c2661395efc572b12ff2a7de05f.zip
Miscellaneous s/chunk/extent/ updates.
Diffstat (limited to 'include/jemalloc')
-rw-r--r--include/jemalloc/internal/jemalloc_internal_defs.h.in4
-rw-r--r--include/jemalloc/internal/rtree.h2
-rw-r--r--include/jemalloc/internal/stats.h3
3 files changed, 4 insertions, 5 deletions
diff --git a/include/jemalloc/internal/jemalloc_internal_defs.h.in b/include/jemalloc/internal/jemalloc_internal_defs.h.in
index 6721bc85..49e2cf06 100644
--- a/include/jemalloc/internal/jemalloc_internal_defs.h.in
+++ b/include/jemalloc/internal/jemalloc_internal_defs.h.in
@@ -137,7 +137,7 @@
#undef JEMALLOC_TCACHE
/*
- * JEMALLOC_DSS enables use of sbrk(2) to allocate chunks from the data storage
+ * JEMALLOC_DSS enables use of sbrk(2) to allocate extents from the data storage
* segment (DSS).
*/
#undef JEMALLOC_DSS
@@ -176,7 +176,7 @@
#undef JEMALLOC_MAPS_COALESCE
/*
- * If defined, use munmap() to unmap freed chunks, rather than storing them for
+ * If defined, use munmap() to unmap freed extents, rather than storing them for
* later reuse. This is disabled by default on Linux because common sequences
* of mmap()/munmap() calls will cause virtual memory map holes.
*/
diff --git a/include/jemalloc/internal/rtree.h b/include/jemalloc/internal/rtree.h
index e62ab6b9..af52f9ff 100644
--- a/include/jemalloc/internal/rtree.h
+++ b/include/jemalloc/internal/rtree.h
@@ -1,6 +1,6 @@
/*
* This radix tree implementation is tailored to the singular purpose of
- * associating metadata with chunks that are currently owned by jemalloc.
+ * associating metadata with extents that are currently owned by jemalloc.
*
*******************************************************************************
*/
diff --git a/include/jemalloc/internal/stats.h b/include/jemalloc/internal/stats.h
index d5eea8e7..da019605 100644
--- a/include/jemalloc/internal/stats.h
+++ b/include/jemalloc/internal/stats.h
@@ -5,7 +5,6 @@ typedef struct tcache_bin_stats_s tcache_bin_stats_t;
typedef struct malloc_bin_stats_s malloc_bin_stats_t;
typedef struct malloc_large_stats_s malloc_large_stats_t;
typedef struct arena_stats_s arena_stats_t;
-typedef struct chunk_stats_s chunk_stats_t;
#endif /* JEMALLOC_H_TYPES */
/******************************************************************************/
@@ -76,7 +75,7 @@ struct malloc_large_stats_s {
*/
uint64_t nrequests;
- /* Current number of (multi-)chunk allocations of this size class. */
+ /* Current number of allocations of this size class. */
size_t curlextents;
};