Java multi CPU capabilities

Jamon Camisso jamon.camisso-H217xnMUJC0sA/PxXw9srA at public.gmane.org
Wed Aug 28 12:41:30 UTC 2013


On 13-08-27 10:40 PM, ted leslie wrote:
> So I guess, aside from rephrasing your question to be, why does Java
> not use more then one CPU for GC, I can only speak for c#,
> where it DOES, but I would have to say Java does to? if they don't,
> that's a shame.

http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html#available_collectors

Parallel GC uses multiple CPUs:

"On a machine with N processors the parallel collector uses N garbage
collector threads; however, this number can be adjusted with a command
line option (see below). On a host with one processor, the parallel
collector will likely not perform as well as the serial collector
because of the overhead required for parallel execution.... and usually
performs significantly better than the serial collector when more than
two processors are available."
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list