summaryrefslogtreecommitdiff
path: root/rts/sm
diff options
context:
space:
mode:
authorEric Lindblad <lindblad@gmx.us>2022-05-13 15:40:55 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2022-06-01 07:44:51 -0400
commit514a6a28db16793d6d2ca8fe7863e82943f56374 (patch)
tree5e35392d37250050e192d11790bdefa7011f8862 /rts/sm
parentef7ddd7348070a9149d162217280c0a50f2b213d (diff)
downloadhaskell-514a6a28db16793d6d2ca8fe7863e82943f56374.tar.gz
typos
Diffstat (limited to 'rts/sm')
-rw-r--r--rts/sm/GC.c2
-rw-r--r--rts/sm/MBlock.c4
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)