Can a single thread of a Java program automatically make use of multiple cores on the CPU?
Usually gc is running in a separate thread. But usually it doesn't make any significant difference. That's all.