summaryrefslogtreecommitdiff
path: root/rts/sm/NonMoving.c
diff options
context:
space:
mode:
Diffstat (limited to 'rts/sm/NonMoving.c')
-rw-r--r--rts/sm/NonMoving.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/sm/NonMoving.c b/rts/sm/NonMoving.c
index 20ec5a45ba..5cb7c8b7e5 100644
--- a/rts/sm/NonMoving.c
+++ b/rts/sm/NonMoving.c
@@ -200,7 +200,7 @@ Mutex concurrent_coll_finished_lock;
* generation.
*
* - Note [Aging under the non-moving collector] (NonMoving.c) describes how
- * we accomodate aging
+ * we accommodate aging
*
* - Note [Large objects in the non-moving collector] (NonMovingMark.c)
* describes how we track large objects.
@@ -890,7 +890,7 @@ void nonmovingCollect(StgWeak **dead_weaks, StgTSO **resurrected_threads)
// If we're interrupting or shutting down, do not let this capability go and
// run a STW collection. Reason: we won't be able to acquire this capability
// again for the sync if we let it go, because it'll immediately start doing
- // a major GC, becuase that's what we do when exiting scheduler (see
+ // a major GC, because that's what we do when exiting scheduler (see
// exitScheduler()).
if (sched_state == SCHED_RUNNING) {
concurrent_coll_running = true;