Better default for ParallelGCThreads and ConcGCThreads by using number of physical cores and CPU mask.

Brandon Mitchell brandon at
Fri Nov 22 09:58:18 PST 2013

On Fri, Nov 22, 2013 at 9:24 AM, Jon Masamitsu <jon.masamitsu at>wrote:

>  This is a contribution regarding the number of GC worker threads to
> use.  Part of the change queries /proc on linux to get the number of
> active cores on the platform.  The changes are in
> Can someone familiar with this code take a look to see
> if it is reasonable and done in a way that is consistent
> with other /proc queries.

/sys/devices/system/cpu/cpu<N>/topology/thread_siblings_list might be
somewhat easier to parse for this information.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the hotspot-runtime-dev mailing list