diff options
-rw-r--r-- | rts/Trace.c | 2 | ||||
-rw-r--r-- | rts/sm/NonMovingMark.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/rts/Trace.c b/rts/Trace.c index 2a229b5dc2..2f1e3f9c90 100644 --- a/rts/Trace.c +++ b/rts/Trace.c @@ -213,7 +213,7 @@ static void traceSchedEvent_stderr (Capability *cap, EventTypeNum tag, debugBelch("cap %d: thread %" FMT_Word "[\"%s\"]" " stopped (blocked on black hole owned by thread %lu)\n", cap->no, (W_)tso->id, threadLabel, (long)info2); } else if (info1 == StackOverflow) { - debugBelch("cap %d: thead %" FMT_Word "[\"%s\"]" + debugBelch("cap %d: thread %" FMT_Word "[\"%s\"]" " stopped (stack overflow, size %lu)\n", cap->no, (W_)tso->id, threadLabel, (long)info2); diff --git a/rts/sm/NonMovingMark.c b/rts/sm/NonMovingMark.c index 658d743ca1..cc815c89c7 100644 --- a/rts/sm/NonMovingMark.c +++ b/rts/sm/NonMovingMark.c @@ -190,8 +190,8 @@ StgIndStatic *debug_caf_list_snapshot = (StgIndStatic*)END_OF_CAF_LIST; * 4. The mark thread marks everything it was sent; runs out of things to mark * 5. Mark thread initiates a sync * 6. Capabilities send their final update remembered sets and suspend execution - * 7. Mark thread marks everything is was sent - * 8. Mark thead allows capabilities to resume. + * 7. Mark thread marks everything it was sent + * 8. Mark thread allows capabilities to resume. * * However, this is obviously a fair amount of complexity and so far the * periodic eager flushing approach has been sufficient. |