6.2.3 Optimal Average Pause GC policy

The Optimal Average Pause GC policy reduces pause times to a more practical level. However, the pauses will occur more frequently. Optimal Average Pause is similar to Optimal Throughput, but with the mark and sweep phases running partially concurrent. In addition, some of the work for Mark and Sweep phases have been moved to allocation time. It is designed to reduce Stop-The-World pause time. Use this policy when the application requires good response times even when processor-intensive events occur during application lifetime.

To set the GC policy to use Optimal Average Pause, enter -Xgcpolicy:optavgpause into the Generic JVM arguments field in the Java Virtual Machine Process Definition page in the WebSphere Application Server administration console.