summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alloc.c8
-rw-r--r--gcj_mlc.c2
-rw-r--r--include/gc.h2
-rw-r--r--include/private/gcconfig.h4
-rw-r--r--mach_dep.c2
-rw-r--r--mark_rts.c2
-rw-r--r--misc.c2
-rw-r--r--os_dep.c6
-rw-r--r--reclaim.c2
9 files changed, 14 insertions, 16 deletions
diff --git a/alloc.c b/alloc.c
index 2a53dfb3..06213ce8 100644
--- a/alloc.c
+++ b/alloc.c
@@ -412,7 +412,7 @@ STATIC void GC_maybe_gc(void)
static int n_partial_gcs = 0;
if (!GC_incremental) {
- /* FIXME: If possible, GC_default_stop_func should be used here */
+ /* TODO: If possible, GC_default_stop_func should be used here */
GC_try_to_collect_inner(GC_never_stop_func);
n_partial_gcs = 0;
return;
@@ -441,7 +441,7 @@ STATIC void GC_maybe_gc(void)
# ifndef NO_CLOCK
if (GC_time_limit != GC_TIME_UNLIMITED) { GET_TIME(GC_start_time); }
# endif
- /* FIXME: If possible, GC_default_stop_func should be */
+ /* TODO: If possible, GC_default_stop_func should be */
/* used instead of GC_never_stop_func here. */
if (GC_stopped_mark(GC_time_limit == GC_TIME_UNLIMITED?
GC_never_stop_func : GC_timeout_stop_func)) {
@@ -649,7 +649,7 @@ GC_INNER void GC_collect_a_little_inner(int n)
break;
}
} else {
- /* FIXME: If possible, GC_default_stop_func should be */
+ /* TODO: If possible, GC_default_stop_func should be */
/* used here. */
(void)GC_stopped_mark(GC_never_stop_func);
}
@@ -1001,7 +1001,7 @@ STATIC void GC_finish_collection(void)
# if defined(GC_ASSERTIONS) \
&& defined(THREAD_LOCAL_ALLOC) && !defined(DBG_HDRS_ALL)
/* Check that we marked some of our own data. */
- /* FIXME: Add more checks. */
+ /* TODO: Add more checks. */
GC_check_tls();
# endif
diff --git a/gcj_mlc.c b/gcj_mlc.c
index 4f7355cf..6829abdf 100644
--- a/gcj_mlc.c
+++ b/gcj_mlc.c
@@ -136,7 +136,7 @@ GC_API void GC_CALL GC_init_gcj_malloc(int mp_index,
/* rarely executed point at which it is safe to release the lock. */
/* We do this even where we could just call GC_INVOKE_FINALIZERS, */
/* since it's probably cheaper and certainly more uniform. */
-/* FIXME - Consider doing the same elsewhere? */
+/* TODO: Consider doing the same elsewhere? */
static void maybe_finalize(void)
{
static word last_finalized_no = 0;
diff --git a/include/gc.h b/include/gc.h
index 56f3eb70..b952285b 100644
--- a/include/gc.h
+++ b/include/gc.h
@@ -1638,7 +1638,7 @@ GC_API void GC_CALL GC_dump_finalization(void);
#else /* !GC_DEBUG || !__GNUC__ */
/* We can't do this right without typeof, which ANSI decided was not */
/* sufficiently useful. Without it we resort to the non-debug version. */
- /* FIXME: This should eventually support C++0x decltype. */
+ /* TODO: This should eventually support C++0x decltype. */
# define GC_PTR_ADD(x, n) ((x)+(n))
# define GC_PRE_INCR(x, n) ((x) += (n))
# define GC_POST_INCR(x) ((x)++)
diff --git a/include/private/gcconfig.h b/include/private/gcconfig.h
index 40d2ff5b..ba32d355 100644
--- a/include/private/gcconfig.h
+++ b/include/private/gcconfig.h
@@ -174,7 +174,6 @@ EXTERN_C_BEGIN
# error M68K based HP machines no longer supported.
# endif
# if defined(OPENBSD) && defined(m68k)
- /* FIXME: Should we remove this case? */
# define M68K
# define mach_type_known
# endif
@@ -904,7 +903,6 @@ EXTERN_C_BEGIN
# define MACH_TYPE "M68K"
# define ALIGNMENT 2
# ifdef OPENBSD
- /* FIXME: Should we remove this case? */
# define OS_TYPE "OPENBSD"
# define HEURISTIC2
# ifdef __ELF__
@@ -2634,7 +2632,7 @@ EXTERN_C_BEGIN
/* At present, there's a bug in GLibc getcontext() on */
/* Linux/x64 (it clears FPU exception mask). We define this */
/* macro to workaround it. */
- /* FIXME: This seems to be fixed in GLibc v2.14. */
+ /* TODO: This seems to be fixed in GLibc v2.14. */
# define GETCONTEXT_FPU_EXCMASK_BUG
# endif
# if defined(__GLIBC__) && !defined(__UCLIBC__)
diff --git a/mach_dep.c b/mach_dep.c
index 07e633fd..60b73b22 100644
--- a/mach_dep.c
+++ b/mach_dep.c
@@ -325,7 +325,7 @@ GC_INNER void GC_with_callee_saves_pushed(void (*fn)(ptr_t, void *),
# endif /* !HAVE_BUILTIN_UNWIND_INIT */
}
# endif /* !HAVE_PUSH_REGS */
- /* FIXME: context here is sometimes just zero. At the moment the */
+ /* TODO: context here is sometimes just zero. At the moment, the */
/* callees don't really need it. */
fn(arg, context);
/* Strongly discourage the compiler from treating the above */
diff --git a/mark_rts.c b/mark_rts.c
index 03b287f5..7d166eda 100644
--- a/mark_rts.c
+++ b/mark_rts.c
@@ -787,7 +787,7 @@ STATIC void GC_push_all_stack_part_eager_sections(ptr_t lo, ptr_t hi,
* In the presence of threads, push enough of the current stack
* to ensure that callee-save registers saved in collector frames have been
* seen.
- * FIXME: Merge with per-thread stuff.
+ * TODO: Merge it with per-thread stuff.
*/
STATIC void GC_push_current_stack(ptr_t cold_gc_frame,
void * context GC_ATTR_UNUSED)
diff --git a/misc.c b/misc.c
index 7f1fbd1c..fe4605be 100644
--- a/misc.c
+++ b/misc.c
@@ -1678,7 +1678,7 @@ GC_API void GC_CALL GC_enable_incremental(void)
return res ? (int)written : -1;
}
- /* FIXME: This is pretty ugly ... */
+ /* TODO: This is pretty ugly ... */
# define WRITE(f, buf, len) GC_write(buf, len)
#elif defined(OS2) || defined(MACOS)
diff --git a/os_dep.c b/os_dep.c
index bf089e86..03cd7ecb 100644
--- a/os_dep.c
+++ b/os_dep.c
@@ -480,7 +480,7 @@ GC_INNER char * GC_get_maps(void)
# define ECOS_GC_MEMORY_SIZE (448 * 1024)
# endif /* ECOS_GC_MEMORY_SIZE */
- /* FIXME: This is a simple way of allocating memory which is */
+ /* TODO: This is a simple way of allocating memory which is */
/* compatible with ECOS early releases. Later releases use a more */
/* sophisticated means of allocating memory than this simple static */
/* allocator, but this method is at least bound to work. */
@@ -1478,7 +1478,7 @@ GC_INNER size_t GC_page_size = 0;
/* stack of one thread and the register backing store of the */
/* next. Thus this is likely to identify way too large a */
/* "stack" and thus at least result in disastrous performance. */
- /* FIXME - Implement better strategies here. */
+ /* TODO: Implement better strategies here. */
GC_API int GC_CALL GC_get_stack_base(struct GC_stack_base *b)
{
IF_CANCEL(int cancel_state;)
@@ -3802,7 +3802,7 @@ GC_INNER GC_bool GC_dirty_init(void)
return NULL == HDR(h)
|| get_pht_entry_from_index(GC_written_pages, PHT_HASH(h));
# else
- /* FIXME - implement me for MANUAL_VDB. */
+ /* TODO: implement me for MANUAL_VDB. */
(void)h;
return TRUE;
# endif
diff --git a/reclaim.c b/reclaim.c
index d17881a2..f729f5d5 100644
--- a/reclaim.c
+++ b/reclaim.c
@@ -138,7 +138,7 @@ STATIC GC_bool GC_block_nearly_full(hdr *hhdr)
return (hhdr -> hb_n_marks > 7 * HBLK_OBJS(hhdr -> hb_sz)/8);
}
-/* FIXME: This should perhaps again be specialized for USE_MARK_BYTES */
+/* TODO: This should perhaps again be specialized for USE_MARK_BYTES */
/* and USE_MARK_BITS cases. */
/*