Thread:Talk:CPU constant/I am not skipping turns/reply (2)

From RoboWiki
(Difference between revisions)
Jump to: navigation, search

Latest revision as of 10:06, 22 October 2017

I strongly suspect that if your thread doesn't pause often enough for long enough it will be paused by the JVM for a longer period for housekeeping tasks (GC, updating to JIT'd codepaths etc). I managed to create a fix for the ThreadDeath / long pause, which was simply adding a 1ms pause every tick. Maybe doing something like this would help on your side as well?

Personal tools