diff options
Diffstat (limited to 'rts')
-rw-r--r-- | rts/RetainerProfile.c | 2 | ||||
-rw-r--r-- | rts/StablePtr.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/rts/RetainerProfile.c b/rts/RetainerProfile.c index 97c4b35a71..a836c5bf2a 100644 --- a/rts/RetainerProfile.c +++ b/rts/RetainerProfile.c @@ -374,7 +374,7 @@ computeRetainerSet( traverseState *ts ) // all are guaranteed to be valid, or reachable. // // The following code assumes that WEAK objects are considered to be roots - // for retainer profilng. + // for retainer profiling. for (n = 0; n < n_capabilities; n++) { // NB: after a GC, all nursery weak_ptr_lists have been migrated // to the global lists living in the generations diff --git a/rts/StablePtr.c b/rts/StablePtr.c index 2181b83d90..edcd863183 100644 --- a/rts/StablePtr.c +++ b/rts/StablePtr.c @@ -32,7 +32,7 @@ for garbage collection because the act of passing them makes a copy from the heap, stack or wherever they are onto the C-world stack. However, if we were to pass a heap object such as a (Haskell) @String@ - and a garbage collection occured before we finished using it, we'd run + and a garbage collection occurred before we finished using it, we'd run into problems since the heap object might have been moved or even deleted. |