Ticket #4285 (closed bug: invalid)
STM bug on Windows?
I think I've found a bug in the RTS or STM library for Windows (HP 2010.2.0.0 on Vista x64), after running the ants program from fatvat.co.uk.
After some random period (0-10 seconds), the ant activity suddenly drops by 90% or so. I guess it's a deadlock issue, as ram usage doesn't change much.
Recompiling with -threaded seems to fix the problem. I don't see the same issue on my Linux pc.
I've attached a zip archive containing binaries compiled without threading, with threading, and with profiling support.
There's also output from a 10-sec profiling run (I have no idea what options would make sense..), where said slowdown occurs after about 3 sec.