Skip to content

Commit

Permalink
Merge pull request #7633 from amicic/gcthreads_adaptive_fix
Browse files Browse the repository at this point in the history
gcthreads adaptive fix with overloaded max count
  • Loading branch information
babsingh authored Jan 31, 2025
2 parents 5e85fe5 + 100f70f commit 8afd5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gc/base/ParallelDispatcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ MM_ParallelDispatcher::recomputeActiveThreadCountForTask(MM_EnvironmentBase *env
/* Bound the recommended thread count. Determine the upper bound for the thread count,
* This will either be the user specified gcMaxThreadCount (-XgcmaxthreadsN) or else default max
*/
taskActiveThreadCount = OMR_MIN(_threadCount, task->getRecommendedWorkingThreads());
taskActiveThreadCount = OMR_MIN(taskActiveThreadCount, task->getRecommendedWorkingThreads());

_activeThreadCount = taskActiveThreadCount;

Expand Down

0 comments on commit 8afd5c6

Please sign in to comment.