Chapter 2. Running Java applications with Shenandoah garbage collector

You can run your Java application with the Shenandoah garbage collector (GC).

Prerequisites

Procedure

  • Run your Java application with Shenandoah GC by using -XX:+UseShenandoahGC JVM option.

    $ java <PATH_TO_YOUR_APPLICATION> -XX:+UseShenandoahGC