summaryrefslogtreecommitdiff
path: root/thread_local_alloc.c
diff options
context:
space:
mode:
authorIvan Maidanski <ivmai@mail.ru>2011-09-23 15:28:00 +0400
committerIvan Maidanski <ivmai@mail.ru>2011-09-30 17:35:23 +0400
commit4580df04773fe51b0b3e2b5ded47017f265be4c9 (patch)
tree296e89be7ec8138992194faf1ab66cae73908b52 /thread_local_alloc.c
parent3883051d9fd0fc5aa573b5ded483ebd4e5adeb48 (diff)
downloadbdwgc-4580df04773fe51b0b3e2b5ded47017f265be4c9.tar.gz
Review 'disclaim' add-on partially; fix code in some places
Diffstat (limited to 'thread_local_alloc.c')
-rw-r--r--thread_local_alloc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/thread_local_alloc.c b/thread_local_alloc.c
index c5e8f66d..6122c885 100644
--- a/thread_local_alloc.c
+++ b/thread_local_alloc.c
@@ -33,7 +33,7 @@ GC_key_t GC_thread_key;
static GC_bool keys_initialized;
/* Return a single nonempty freelist fl to the global one pointed to */
-/* by gfl. */
+/* by gfl. */
static void return_single_freelist(void *fl, void **gfl)
{
@@ -294,7 +294,7 @@ GC_INNER void GC_mark_thread_local_fls_for(GC_tlfs p)
q = p -> finalized_freelists[j];
if ((word)q > HBLKSIZE)
GC_set_fl_marks(q);
-# endif /* ENABLE_DISCLAIM */
+# endif
}
}
@@ -313,12 +313,12 @@ GC_INNER void GC_mark_thread_local_fls_for(GC_tlfs p)
# ifdef GC_GCJ_SUPPORT
q = p -> gcj_freelists[j];
if ((word)q > HBLKSIZE) GC_check_fl_marks(q);
-# endif /* GC_GCJ_SUPPORT */
+# endif
# ifdef ENABLE_DISCLAIM
q = p -> finalized_freelists[j];
if ((word)q > HBLKSIZE)
GC_check_fl_marks(q);
-# endif /* ENABLE_DISCLAIM */
+# endif
}
}
#endif /* GC_ASSERTIONS */