Running robocode on a multi CPU machine or one with
Hyperthreading (such as most Intel P4) eventually
hangs robocode. Hangs means: using no CPU cycles,
doing nothing. Can't repaint.
Always reproducible (just takes varying amounts of
time). Just leave robocode running for some time, takes
anything from minutes to hours.
Tested with 1.4 and 1.5 Sun JVMs (1.3 unknown).
Workaround: Assign the java process running robocode
to only use one CPU/virtual CPU. In Windows this can
be done in the task manager by right clicking on the
process and specifying just one CPU under affinity.
Obviosuly some kind of thread/syncrhonization issue,
maybe a deadlock. As this only happens on multi
CPU/hyperthreading it is a true parallel execution
problem.
http://robowiki.net/cgi-bin/robowiki?
WindowsXP/HyperThreading
Anonymous
Logged In: YES
user_id=1226269
Sorry, submitted it as a RFE, resubmitted it as a bug.
Logged In: YES
user_id=1249353
This issue has been fixed