Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gcthreads adaptive fix with overloaded max count
In a rare scenario, if a user specifies max GC thread count above h/w available thread count, adaptive threading math would incorrectly disregard the current h/w thread count. This fix makes adaptive threading math apply its logic on top of taskActiveThreadCount rather than _threadCount. It is more correct since the former not already accounts for the latter (_threadCount, what is currently spawned count of GC threads) but also accounts for _activeThreadCount which in turn has been adjusted to account of the number of h/w available threads. Signed-off-by: Aleksandar Micic <Aleksandar_Micic@ca.ibm.com>
- Loading branch information