summaryrefslogtreecommitdiff
path: root/mark_rts.c
diff options
context:
space:
mode:
authorhboehm <hboehm>2008-10-22 01:06:28 +0000
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 21:06:43 +0400
commit4e7edff29276d81c29483ea68012333dca2f787b (patch)
tree65af7e9a797cc11e0397715778756af0f277c425 /mark_rts.c
parentb91f19d0827fa88110be7f9c8fee7edf086c5376 (diff)
downloadbdwgc-4e7edff29276d81c29483ea68012333dca2f787b.tar.gz
2008-10-21 Hans Boehm <Hans.Boehm@hp.com> (Really Ivan Maidanski)
* include/private/gc_locks.h, include/private/gc_pmark.h, include/private/gc_priv.h, include/private/gcconfig.h, mach_dep.c, mark_rts.c, misc.c, os_dep.c, pthread_stop_world.c, pthread_support.c, thread_local_alloc.c, typd_mlc.c, win32_threads.c: Fix comments.
Diffstat (limited to 'mark_rts.c')
-rw-r--r--mark_rts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mark_rts.c b/mark_rts.c
index 695f2209..ad10bb4b 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -154,11 +154,11 @@ GC_API void GC_add_roots(void *b, void *e)
/* Add [b,e) to the root set. Adding the same interval a second time */
-/* is a moderately fast noop, and hence benign. We do not handle */
+/* is a moderately fast no-op, and hence benign. We do not handle */
/* different but overlapping intervals efficiently. (We do handle */
/* them correctly.) */
/* Tmp specifies that the interval may be deleted before */
-/* reregistering dynamic libraries. */
+/* re-registering dynamic libraries. */
void GC_add_roots_inner(ptr_t b, ptr_t e, GC_bool tmp)
{
struct roots * old;
@@ -562,7 +562,7 @@ void GC_push_roots(GC_bool all, ptr_t cold_gc_frame)
* Next push static data. This must happen early on, since it's
* not robust against mark stack overflow.
*/
- /* Reregister dynamic libraries, in case one got added. */
+ /* Re-register dynamic libraries, in case one got added. */
/* There is some argument for doing this as late as possible, */
/* especially on win32, where it can change asynchronously. */
/* In those cases, we do it here. But on other platforms, it's */