If you are using parrallel GC the number of garbage collector threads can be controlled with the ParallelGCThreads command line option -XX:ParallelGCThreads=<your desired number>. Or maybe you want to stop clients from invoking GC directly via .gc() call, then you can -XX:+DisableExplicitGC.