TruffleOptions
public final class TruffleOptions- Inheritance
ObjectTruffleOptions
Class containing general Truffle options.
Fields7
static boolean TraceRewrites
TraceRewrites
staticsince 0.8 or earlierpublic static final boolean TraceRewritesEnables/disables the rewriting of traces in the Truffle runtime to stdout.
Can be set with -Dtruffle.TraceRewrites=true.
static boolean DetailedRewriteReasons
DetailedRewriteReasons
staticsince 0.8 or earlierpublic static final boolean DetailedRewriteReasonsEnables the generation of detailed rewrite reasons. Enabling this may introduce some overhead for rewriting nodes.
Can be set with -Dtruffle.DetailedRewriteReasons=true.
static boolean DetailedAssertions
DetailedAssertions
staticsince 25.6public static final boolean DetailedAssertionsEnables expensive assertions in Truffle and guest language implementations. An assertion is expensive if its cost is significant compared to the operation it checks, for example when it recomputes a cached result.
Disabled by default. Can be set with -Dtruffle.DetailedAssertions=true before this class is initialized. Java assertions must also be enabled for the classes containing the checks. For native images, set the property when building the image. This is not a polyglot option and is not forwarded to polyglot isolates.
Use this option to guard expensive checks while keeping inexpensive assertions enabled:
assert !TruffleOptions.DetailedAssertions || expensiveCheck();static String TraceRewritesFilterClass
TraceRewritesFilterClass
staticsince 0.8 or earlierpublic static final String TraceRewritesFilterClassFilters rewrites that do not contain the given string in the qualified name of the source or target class hierarchy.
Can be set with -Dtruffle.TraceRewritesFilterClass=name.
static NodeCost TraceRewritesFilterFromCostNo description.deprecated
TraceRewritesFilterFromCost
staticsince 0.8 or earlier@Deprecated
public static final NodeCost TraceRewritesFilterFromCostDeprecated
in 24.1 without replacement
No description.
static NodeCost TraceRewritesFilterToCostNo description.deprecated
TraceRewritesFilterToCost
staticsince 0.8 or earlier@Deprecated
public static final NodeCost TraceRewritesFilterToCostDeprecated
in 24.1 without replacement
No description.