My processor is Intel® Core™ i7-3610QM Processor (6M Cache, 2.30 GHz), which posseses 4 processor cores and 8 number of threads (what should that exactly mean?). I'm running a simple Java programm to find out the number of "processors available to the Java virtual machine." (API from Oracle, Java 7), which returns 8 for me, and not 4. Can someone explain me why is that so?
Here is the simple java code:
public class MyTest {
public static void main(String args[]) {
System.out.println("Number of cores available : " + Runtime.getRuntime().availableProcessors());
}
}