-XX:[+|-]ClassRelationshipVerifier
This option enables or disables the recording of class relationships in the verifier to delay validation until triggered by class loading.
-Xfuture
or -Xverify:all
, which itself enables -Xfuture
.
Syntax
-XX:[+|-]ClassRelationshipVerifier
Setting | Effect | Default |
---|---|---|
-XX:+ClassRelationshipVerifier |
Enable | |
-XX:-ClassRelationshipVerifier |
Disable | yes |
Explanation
When enabled, this option delays validating the relationships between classes until the classes are required to be loaded during program execution. In this way, classes that are not required, are never loaded thus reducing VM startup time.
A verify error is thrown if validation fails.
This option was introduced in Version 0.17 of OpenJ9. For more information, see What's new in version 0.17.0