> IMHO, this calculation should be adjusted so that a 3-core system gets a > value of 2.
A 3-core system? What happened to one of its, ahem, gems? :) > I've been trying to find the code that calculates it, but I've come up empty > so far. The code to adjust it automatically is in the runner itself, here: https://github.com/carrotsearch/randomizedtesting/blob/master/junit4-ant/src/main/java/com/carrotsearch/ant/tasks/junit4/JUnit4.java#L1288 Feel free to provide a patch, although I think a 3-core system is an not something many people have. The rationale for decreasing the number of threads on 4-cores and on is to leave some slack for GC, ANT itself, etc. Otherwise you can brick the machine. Dawid --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
