Package com.oracle.truffle.api
Class TruffleOptions
java.lang.Object
com.oracle.truffle.api.TruffleOptions
Class containing general Truffle options.
- Since:
- 0.8 or earlier
-
Field Summary
Modifier and TypeFieldDescriptionstatic final boolean
Forces ahead-of-time initialization.static final boolean
Enables the generation of detailed rewrite reasons.static final boolean
Enables/disables the rewriting of traces in the Truffle runtime to stdout.static final String
Filters rewrites that do not contain the given string in the qualified name of the source or target class hierarchy.static final NodeCost
static final NodeCost
-
Method Summary
-
Field Details
-
TraceRewrites
public static final boolean TraceRewritesEnables/disables the rewriting of traces in the Truffle runtime to stdout.Can be set with
-Dtruffle.TraceRewrites=true
.- Since:
- 0.8 or earlier
-
DetailedRewriteReasons
public 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
.- Since:
- 0.8 or earlier
-
TraceRewritesFilterClass
Filters 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
.- Since:
- 0.8 or earlier
-
TraceRewritesFilterFromCost
Filters rewrites which does not contain theNodeCost
in its sourceNodeInfo
. If noNodeInfo
is defined the element is filtered if the filter value is set.Can be set with
-Dtruffle.TraceRewritesFilterFromCost=NONE|MONOMORPHIC|POLYMORPHIC|MEGAMORPHIC
.- Since:
- 0.8 or earlier
-
TraceRewritesFilterToCost
Filters rewrites which does not contain theNodeCost
in its targetNodeInfo
. If noNodeInfo
is defined the element is filtered if the filter value is set.Can be set with
-Dtruffle.TraceRewritesFilterToKind=UNINITIALIZED|SPECIALIZED|POLYMORPHIC|GENERIC
.- Since:
- 0.8 or earlier
-
AOT
public static final boolean AOTForces ahead-of-time initialization.- Since:
- 0.8 or earlier
-