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;
# 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)) {
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);
}
# 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
/* 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;
#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)++)
# 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
# define MACH_TYPE "M68K"
# define ALIGNMENT 2
# ifdef OPENBSD
- /* FIXME: Should we remove this case? */
# define OS_TYPE "OPENBSD"
# define HEURISTIC2
# ifdef __ELF__
/* 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__)
# 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 */
* 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)
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)
# 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. */
/* 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;)
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
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. */
/*