Skip to content

-XX:[+|-]DisableExplicitGC

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

Syntax

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