Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit www.eclipse.org/openj9/docs

-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