summaryrefslogtreecommitdiff
path: root/mark.c
diff options
context:
space:
mode:
Diffstat (limited to 'mark.c')
-rw-r--r--mark.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/mark.c b/mark.c
index 324d518c..9d170e5f 100644
--- a/mark.c
+++ b/mark.c
@@ -525,7 +525,12 @@ static void alloc_mark_stack(size_t);
/* avoid otherwise. */
# ifndef DEFAULT_VDB
if (GC_auto_incremental) {
- WARN("Incremental GC incompatible with /proc roots\n", 0);
+ static GC_bool is_warned = FALSE;
+
+ if (!is_warned) {
+ is_warned = TRUE;
+ WARN("Incremental GC incompatible with /proc roots\n", 0);
+ }
/* I'm not sure if this could still work ... */
}
# endif