Skip to content

CAUTION: This site is for reviewing draft documentation. For published content, visit www.eclipse.org/openj9/docs

‑Xenablestringconstantgc / ‑Xdisablestringconstantgc

These options enable or disable the collection of strings from the string intern table.

Syntax

Setting Effect Default
-Xenablestringconstantgc Enable collection yes
-Xdisablestringconstantgc Disable collection

This option is not supported with the balanced GC policy (-Xgcpolicy:balanced).