mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-05-15 17:36:21 +03:00
Fix several typos in the comments
This commit is contained in:
parent
d7b283ed32
commit
6cd31c0985
5 changed files with 7 additions and 7 deletions
|
|
@ -18,7 +18,7 @@ JEMALLOC_DIAGNOSTIC_DISABLE_SPURIOUS
|
|||
/* Data. */
|
||||
|
||||
/*
|
||||
* Define names for both unininitialized and initialized phases, so that
|
||||
* Define names for both uninitialized and initialized phases, so that
|
||||
* options and mallctl processing are straightforward.
|
||||
*/
|
||||
const char *const percpu_arena_mode_names[] = {
|
||||
|
|
@ -44,7 +44,7 @@ static unsigned nbins_total;
|
|||
|
||||
/*
|
||||
* a0 is used to handle huge requests before malloc init completes. After
|
||||
* that,the huge_arena_ind is updated to point to the actual huge arena,
|
||||
* that, the huge_arena_ind is updated to point to the actual huge arena,
|
||||
* which is the last one of the auto arenas.
|
||||
*/
|
||||
unsigned huge_arena_ind = 0;
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ hpa_supported(void) {
|
|||
return false;
|
||||
}
|
||||
/*
|
||||
* We fundamentally rely on a address-space-hungry growth strategy for
|
||||
* We fundamentally rely on an address-space-hungry growth strategy for
|
||||
* hugepages.
|
||||
*/
|
||||
if (LG_SIZEOF_PTR != 3) {
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ const char *je_malloc_conf
|
|||
* setting, which gets lower priority than the environment settings).
|
||||
*
|
||||
* But it's a fairly common use case in some testing environments for a user to
|
||||
* be able to control the binary, but nothing else (e.g. a performancy canary
|
||||
* be able to control the binary, but nothing else (e.g. a performance canary
|
||||
* uses the production OS and environment variables, but can run any binary in
|
||||
* those circumstances). For these use cases, it's handy to have an in-binary
|
||||
* mechanism for overriding environment variable settings, with the idea that if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue