Skip navigation links

Package com.oracle.svm.core.option

Substrate VM re-uses much of the Graal option system for handling its own options.

See: Description

Package com.oracle.svm.core.option Description

Substrate VM re-uses much of the Graal option system for handling its own options. In the Graal option system, an option is declared as a static final field that is annotated with the annotation Option. Values are stored in OptionValues.

Substrate VM has two distinct kinds of options:

Substrate VM re-uses much of the Graal option system for handling. However, Graal itself is stateless, i.e, every Graal compilation can be configured with its own set of OptionValues. Therefore, access of a Graal option using OptionKey.getValue(org.graalvm.compiler.options.OptionValues) requires to explicitly specify one of the two option values of Substrate VM: HostedOptionValues.singleton() or RuntimeOptionValues.singleton().
Skip navigation links