Request for Review (s) - 8133023: ParallelGCThreads is not calculated correctly

Jon Masamitsu jon.masamitsu at
Wed Nov 25 22:10:36 UTC 2015

I have a new fix for this bug.  My previous fix broke solaris-x86 (I
had not defined an early_initialize() for x86).  This fix is slightly
smaller and has the virtue of moving the required initialization
closer to where it is used.

Testing: JPRT build on all platforms, checked by hand that the correct 
of GC worker threads are created on later Niagara platforms.



On 11/12/2015 1:31 PM, Jon Masamitsu wrote:
> GC calls VM_Version::calc_parallel_worker_threads() to determine
> the number of GC threads to create.  On Sparc it checks for newer
> Niagara hardware to decide the proper scaling of the GC threads with
> the hardware threads. calc_parallel_worker_threads() was being called
> before enough information was gathered to determine the Sparc hardware.
> Moved the gathering of information needed to earlier in the JVM
> initialization.
> Thanks.
> Jon

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the hotspot-gc-dev mailing list