Commit e98edbd1 authored by niteria's avatar niteria
Browse files

Move stat_startGCSync

@simonmar told me that it makes more sense this way.

Test Plan: it still builds

Reviewers: bgamari, austin, simonmar, erikd

Reviewed By: simonmar, erikd

Subscribers: thomie, simonmar

Differential Revision:
parent b0a51443
......@@ -1646,6 +1646,8 @@ scheduleDoGC (Capability **pcap, Task *task USED_IF_THREADS,
} while (was_syncing);
#ifdef DEBUG
unsigned int old_n_capabilities = n_capabilities;
......@@ -1099,8 +1099,6 @@ waitForGcThreads (Capability *cap USED_IF_THREADS)
uint32_t i, j;
rtsBool retry = rtsTrue;
while(retry) {
for (i=0; i < n_threads; i++) {
if (i == me || gc_threads[i]->idle) continue;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment