Miscellaneous s/chunk/extent/ updates.

This commit is contained in:
Jason Evans
2016-06-01 13:53:56 -07:00
parent a43db1c608
commit c8c3cbdf47
8 changed files with 17 additions and 19 deletions

View File

@@ -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.
*/

View File

@@ -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.
*
*******************************************************************************
*/

View File

@@ -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;
};