Skip to content

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


Start of content that applies only to Java 16 and later This HotSpot option provides warnings about improper attempts to synchronize on instances of a value-based class. The option is recognized by Eclipse OpenJ9™ for compatibility.


<number> value Effect
1 Generate VirtualMachineError error
2 Print a warning message