Remember that your Java application is actually being run ... as far as the operating-system is concerned ... by a Java Virtual Machine (JVM) process. There is only one such process-instance responsible for all of the activities of this application-instance, and this process will therefore run on only one CPU/Core at a time. You observe that only one is being used, and you coincidentally observe that the same core-ID is being repeatedly picked.
Last edited by sundialsvcs; 08-22-2016 at 12:49 AM.
|