mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-28 07:46:25 +03:00
Miscellaneous s/chunk/extent/ updates.
This commit is contained in:
parent
a43db1c608
commit
c8c3cbdf47
8 changed files with 17 additions and 19 deletions
|
|
@ -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.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
*
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue