java multithreading in virtual Multicore single cpu vs multiple physical core cpus -


here use case of general java multithreading implementation:

  1. i have 1 cpu 4 virtual cores.
  2. i have 4 cpus 4 physical cores.

which hardware should choose efficiently implement multithreaded application. far know, number of cores in cpu(virtual/physical) abstracted jvm operating system , jvm cannot differentiate between virtual/physical cores. however, hardware configuration should more efficient between 2 above mentioned options?


Comments