STM bug on Windows?
|Reported by:||eevar||Owned by:|
|Operating System:||Windows||Architecture:||x86_64 (amd64)|
|Type of failure:||Runtime performance bug||Difficulty:|
|Test Case:||Blocked By:|
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.