Skip to content

CAUTION: This site hosts draft documentation for the next release. For published content of the latest release, visit


Restriction: This system property is supported only on Java™ 8.

Start of content that applies only to Java 8 (LTS) Setting this property to false reverts to the behavior (Eclipse OpenJ9™ 0.18 and earlier) of growing a 1 G char[] or larger StringBuffer or StringBuilder only as much as necessary to accommodate the String being added. The default behavior is to immediately grow to the maximum possible size, similarly to Java 11 and later. The default behavior is compatible with the Oracle HotSpot VM.


Setting Effect Default
true Above 1 G, grow to the maximum size yes
false Above 1 G, grow only as required