[sgen] Don't return unused thread count from stop/start world functions.
[mono.git] / mono / metadata / sgen-gray.c
index 6407ef8928dd3ad9f8f44467b91d5ec63de5751b..4dfca503335ea7a665c4670c69e4035afc7ce17c 100644 (file)
@@ -21,9 +21,8 @@
 #include "config.h"
 #ifdef HAVE_SGEN_GC
 
-#include "metadata/sgen-gc.h"
-#include "utils/mono-counters.h"
-#include "sgen-protocol.h"
+#include "mono/metadata/sgen-gc.h"
+#include "mono/metadata/sgen-protocol.h"
 
 #ifdef HEAVY_STATISTICS
 guint64 stat_gray_queue_section_alloc;
@@ -141,7 +140,7 @@ sgen_gray_object_dequeue (SgenGrayQueue *queue)
        }
 
        STATE_ASSERT (queue->first, GRAY_QUEUE_SECTION_STATE_ENQUEUED);
-       SGEN_ASSERT (9, queue->cursor >= GRAY_FIRST_CURSOR_POSITION (queue->first), "gray queue %p underflow, first %p, cursor %d", queue, queue->first, queue->cursor);
+       SGEN_ASSERT (9, queue->cursor >= GRAY_FIRST_CURSOR_POSITION (queue->first), "gray queue %p underflow", queue);
 
        entry = *queue->cursor--;