diff options
Diffstat (limited to 'rts')
-rw-r--r-- | rts/LinkerInternals.h | 2 | ||||
-rw-r--r-- | rts/Stats.c | 6 | ||||
-rw-r--r-- | rts/sm/NonMoving.c | 4 | ||||
-rw-r--r-- | rts/sm/NonMovingMark.c | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h index e1846b7a39..cf0cd35167 100644 --- a/rts/LinkerInternals.h +++ b/rts/LinkerInternals.h @@ -235,7 +235,7 @@ typedef struct _ObjectCode { unsigned long n_symbol_extras; #endif /* Additional memory that is preallocated and contiguous with image - which can be used used to relocate bss sections. */ + which can be used to relocate bss sections. */ char* bssBegin; char* bssEnd; diff --git a/rts/Stats.c b/rts/Stats.c index 2fbd8b2655..80fca509ad 100644 --- a/rts/Stats.c +++ b/rts/Stats.c @@ -796,7 +796,7 @@ static void free_RTSSummaryStats(RTSSummaryStats * sum) static void report_summary(const RTSSummaryStats* sum) { // We should do no calculation, other than unit changes and formatting, and - // we should not not use any data from outside of globals, sum and stats + // we should not use any data from outside of globals, sum and stats // here. See Note [RTS Stats Reporting] uint32_t g; @@ -1019,7 +1019,7 @@ static void report_summary(const RTSSummaryStats* sum) static void report_machine_readable (const RTSSummaryStats * sum) { // We should do no calculation, other than unit changes and formatting, and - // we should not not use any data from outside of globals, sum and stats + // we should not use any data from outside of globals, sum and stats // here. See Note [RTS Stats Reporting] uint32_t g; @@ -1198,7 +1198,7 @@ static void report_machine_readable (const RTSSummaryStats * sum) static void report_one_line(const RTSSummaryStats * sum) { // We should do no calculation, other than unit changes and formatting, and - // we should not not use any data from outside of globals, sum and stats + // we should not use any data from outside of globals, sum and stats // here. See Note [RTS Stats Reporting] /* print the long long separately to avoid bugginess on mingwin (2001-07-02, diff --git a/rts/sm/NonMoving.c b/rts/sm/NonMoving.c index 09945ce776..388ceae2fd 100644 --- a/rts/sm/NonMoving.c +++ b/rts/sm/NonMoving.c @@ -419,7 +419,7 @@ Mutex concurrent_coll_finished_lock; * An object being marked as dirty implies that all of its fields are on * the mark queue (or, equivalently, update remembered set). * - * With this guarantee we can safely make the the write barriers dirty objects + * With this guarantee we can safely make the write barriers dirty objects * no-ops. We perform this optimisation for the following object types: * * - MVAR @@ -991,7 +991,7 @@ void nonmovingCollect(StgWeak **dead_weaks, StgTSO **resurrected_threads) #endif } -/* Mark mark queue, threads, and weak pointers until no more weaks have been +/* Mark queue, threads, and weak pointers until no more weaks have been * resuscitated */ static void nonmovingMarkThreadsWeaks(MarkQueue *mark_queue) diff --git a/rts/sm/NonMovingMark.c b/rts/sm/NonMovingMark.c index 87fee597ca..d1b625f7e3 100644 --- a/rts/sm/NonMovingMark.c +++ b/rts/sm/NonMovingMark.c @@ -1901,7 +1901,7 @@ void nonmovingMarkDeadWeaks (struct MarkQueue_ *queue, StgWeak **dead_weaks) } } -// Non-moving heap variant of of `tidyThreadList` +// Non-moving heap variant of `tidyThreadList` void nonmovingTidyThreads () { StgTSO *next; |