-XX:[+|-]DisableExplicitGC

This Hotspot option is recognized by OpenJ9 for compatibility. See ‑Xenableexplicitgc.md / ‑Xdisableexplicitgc for details.

Syntax

Setting Effect Default
-XX:+DisableExplicitGC Enable GC yes
-XX:-DisableExplicitGC Disable GC