fix some typos
Signed-off-by: cuishuang <imcusg@gmail.com>
This commit is contained in:
parent
0e29ad4efa
commit
9a242f16d9
@ -5085,7 +5085,7 @@ sub MapToSymbols {
|
||||
} else {
|
||||
# MapSymbolsWithNM tags each routine with its starting address,
|
||||
# useful in case the image has multiple occurrences of this
|
||||
# routine. (It uses a syntax that resembles template paramters,
|
||||
# routine. (It uses a syntax that resembles template parameters,
|
||||
# that are automatically stripped out by ShortFunctionName().)
|
||||
# addr2line does not provide the same information. So we check
|
||||
# if nm disambiguated our symbol, and if so take the annotated
|
||||
@ -5437,7 +5437,7 @@ sub GetProcedureBoundaries {
|
||||
# "nm -f $image" is supposed to fail on GNU nm, but if:
|
||||
#
|
||||
# a. $image starts with [BbSsPp] (for example, bin/foo/bar), AND
|
||||
# b. you have a.out in your current directory (a not uncommon occurence)
|
||||
# b. you have a.out in your current directory (a not uncommon occurrence)
|
||||
#
|
||||
# then "nm -f $image" succeeds because -f only looks at the first letter of
|
||||
# the argument, which looks valid because it's [BbSsPp], and then since
|
||||
|
@ -1409,7 +1409,7 @@ malloc_conf = "xmalloc:true";]]></programlisting>
|
||||
set to the empty string, no automatic dumps will occur; this is
|
||||
primarily useful for disabling the automatic final heap dump (which
|
||||
also disables leak reporting, if enabled). The default prefix is
|
||||
<filename>jeprof</filename>. This prefix value can be overriden by
|
||||
<filename>jeprof</filename>. This prefix value can be overridden by
|
||||
<link linkend="prof.prefix"><mallctl>prof.prefix</mallctl></link>.
|
||||
</para></listitem>
|
||||
</varlistentry>
|
||||
|
@ -104,7 +104,7 @@ extent_can_acquire_neighbor(edata_t *edata, rtree_contents_t contents,
|
||||
edata_committed_get(neighbor))) {
|
||||
/*
|
||||
* Some platforms (e.g. Windows) require an explicit
|
||||
* commit step (and writing to uncomitted memory is not
|
||||
* commit step (and writing to uncommitted memory is not
|
||||
* allowed).
|
||||
*/
|
||||
return false;
|
||||
|
@ -10,7 +10,7 @@
|
||||
* structs, externs, and inlines), and included each header file multiple times
|
||||
* in this file, picking out the portion we want on each pass using the
|
||||
* following #defines:
|
||||
* JEMALLOC_H_TYPES : Preprocessor-defined constants and psuedo-opaque data
|
||||
* JEMALLOC_H_TYPES : Preprocessor-defined constants and pseudo-opaque data
|
||||
* types.
|
||||
* JEMALLOC_H_STRUCTS : Data structures.
|
||||
* JEMALLOC_H_EXTERNS : Extern data declarations and function prototypes.
|
||||
|
@ -180,7 +180,7 @@ bool pa_shrink(tsdn_t *tsdn, pa_shard_t *shard, edata_t *edata, size_t old_size,
|
||||
size_t new_size, szind_t szind, bool *deferred_work_generated);
|
||||
/*
|
||||
* Frees the given edata back to the pa. Sets *generated_dirty if we produced
|
||||
* new dirty pages (well, we alwyas set it for now; but this need not be the
|
||||
* new dirty pages (well, we always set it for now; but this need not be the
|
||||
* case).
|
||||
* (We could make generated_dirty the return value of course, but this is more
|
||||
* consistent with the shrink pathway and our error codes here).
|
||||
|
@ -348,7 +348,7 @@ size_t reg_size_compute(int lg_base, int lg_delta, int ndelta);
|
||||
void sc_data_init(sc_data_t *data);
|
||||
/*
|
||||
* Updates slab sizes in [begin, end] to be pgs pages in length, if possible.
|
||||
* Otherwise, does its best to accomodate the request.
|
||||
* Otherwise, does its best to accommodate the request.
|
||||
*/
|
||||
void sc_data_update_slab_size(sc_data_t *data, size_t begin, size_t end,
|
||||
int pgs);
|
||||
|
@ -327,7 +327,7 @@ a0dalloc(void *ptr) {
|
||||
}
|
||||
|
||||
/*
|
||||
* FreeBSD's libc uses the bootstrap_*() functions in bootstrap-senstive
|
||||
* FreeBSD's libc uses the bootstrap_*() functions in bootstrap-sensitive
|
||||
* situations that cannot tolerate TLS variable access (TLS allocation and very
|
||||
* early internal data structure initialization).
|
||||
*/
|
||||
|
@ -209,7 +209,7 @@ tsd_state_set(tsd_t *tsd, uint8_t new_state) {
|
||||
/*
|
||||
* This is the tricky case. We're transitioning from
|
||||
* one nominal state to another. The caller can't know
|
||||
* about any races that are occuring at the same time,
|
||||
* about any races that are occurring at the same time,
|
||||
* so we always have to recompute no matter what.
|
||||
*/
|
||||
tsd_slow_update(tsd);
|
||||
|
@ -34,7 +34,7 @@
|
||||
* (c) Any generated number >= n_bucket * 2^lg_bucket_width will be counted
|
||||
* towards the last bucket; the expected mean and stddev provided should
|
||||
* also reflect that.
|
||||
* (d) The number of iterations is adviced to be determined so that the bucket
|
||||
* (d) The number of iterations is advised to be determined so that the bucket
|
||||
* with the minimal expected proportion gets a sufficient count.
|
||||
*/
|
||||
|
||||
|
@ -4,7 +4,7 @@ TEST_BEGIN(test_sz_psz2ind) {
|
||||
/*
|
||||
* Testing page size classes which reside prior to the regular group
|
||||
* with all size classes divisible by page size.
|
||||
* For x86_64 Linux, it's 4096, 8192, 12288, 16384, with correponding
|
||||
* For x86_64 Linux, it's 4096, 8192, 12288, 16384, with corresponding
|
||||
* pszind 0, 1, 2 and 3.
|
||||
*/
|
||||
for (size_t i = 0; i < SC_NGROUP; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user