diff options
Diffstat (limited to 'rts/sm')
-rw-r--r-- | rts/sm/GC.c | 2 | ||||
-rw-r--r-- | rts/sm/MBlock.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rts/sm/GC.c b/rts/sm/GC.c index 71c1ecbfeb..24aeef8bef 100644 --- a/rts/sm/GC.c +++ b/rts/sm/GC.c @@ -2269,7 +2269,7 @@ bool doIdleGCWork(Capability *cap STG_UNUSED, bool all) * usage when the live data size is much more reasonable (for example ghcide) * * Therefore we have a new (2021) strategy which starts by retaining up to 4 * live_bytes - * of blocks before gradually returning uneeded memory back to the OS on subsequent + * of blocks before gradually returning unneeded memory back to the OS on subsequent * major GCs which are NOT caused by a heap overflow. * * Each major GC which is NOT caused by heap overflow increases the consec_idle_gcs diff --git a/rts/sm/MBlock.c b/rts/sm/MBlock.c index ffd4f41266..84dc6a2bc0 100644 --- a/rts/sm/MBlock.c +++ b/rts/sm/MBlock.c @@ -46,8 +46,8 @@ W_ mpc_misses = 0; that was committed, after the given one For both these calls, @state is an in-out parameter that points to - an opaque state threading the calls togheter. The calls should only - be used in an interation fashion. Pass NULL if @state is not + an opaque state threading the calls together. The calls should only + be used in an iteration fashion. Pass NULL if @state is not interesting,or pass a pointer to NULL if you don't have a state. void *getCommittedMBlocks(uint32_t n) |