Set the number of processors java uses
Posted on 2004-03-24
I just upgraded my machine to a 3Ghz pentium 4 with hyper-threading. It shows up to the os as 2 logical processors. When I run any java program, it doesn't seem to take advantage of this - my cpu consumption never exceeds 50%.
Is there some way I can tell java how many processors I have?