Manually Increasing the Amount of CPU a Java Application Uses
Posted
by
SkylineAddict
on Stack Overflow
See other posts from Stack Overflow
or by SkylineAddict
Published on 2011-01-15T19:49:18Z
Indexed on
2011/01/15
19:53 UTC
Read the original article
Hit count: 162
java
|multithreading
I've just made a program with Eclipse that takes a really long time to execute. It's taking even longer because it's loading my CPU to 25% only (I'm assuming that is because I'm using a quad-core and the program is only using one core). Is there any way to make the program use all 4 cores to max it out? Java is supposed to be natively multi-threaded, so I don't understand why it would only use 25%.
© Stack Overflow or respective owner