-Xgcmaxthreads
Specifies the maximum number of threads that the garbage collector can use for parallel operations. This option behaves in the same way as -Xgcthreads
but does not enforce a fixed thread count, which allows the garbage collector to adjust the thread count when used with the -XX:+AdaptiveGCThreading
option.
Syntax
-Xgcmaxthreads<number>
Where <number>
is the maximum number of threads that can be used for parallel operations.