Java (JVM) set CPU power
<p>I want to do some measurements with Java using different methods with parallel computation, blocking, non-blocking approaches etc. </p>

<p>In order to guarantee that the CPU is always using its same resources, I need to assign/set CPU's power for the JVM. In this case, theoretically, the measured computation should always result identical, independently how often the same code is called.</p>

<p>Is there any way to set the JVM's CPU to a fixed value?</p>