In Java there's the method Runtime.getRuntime().availableProcessors()
which has the following Javadoc:
Returns the number of processors available to the Java virtual machine. This value may change during a particular invocation of the virtual machine.
How can the value actually change? Under what circumstances would there be less processors available to the JVM than physically installed for example?
Jonas