This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, I was wondering if there is a way to reduce the number of CPUs on my Windows machine programmatically in Java or atleast as a command line parameter to the JVM. I would like my tests to run with just 1 CPU on the Windows(XP Prof) machine, just to check performance.
I googled on the net and found that it can be done by making a change to the registry, but I am not comfortable doing that.