Package com.oracle.truffle.api
Class TruffleOptions
java.lang.Object
com.oracle.truffle.api.TruffleOptions
Class containing general Truffle options.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final boolean
Enables the generation of detailed rewrite reasons.static final boolean
Enables the dumping of Node creations and AST rewrites in JSON format.static boolean
Enables/disables the rewriting of traces in the Truffle runtime to stdout.static String
Filters rewrites that do not contain the given string in the qualified name of the source or target class hierarchy.static NodeCost
static NodeCost
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
TraceRewrites
public static boolean TraceRewritesEnables/disables the rewriting of traces in the Truffle runtime to stdout.Can be set with
-Dtruffle.TraceRewrites=true
. -
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
. -
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
. -
TraceRewritesFilterFromCost
-
TraceRewritesFilterToCost
-
TraceASTJSON
public static final boolean TraceASTJSONEnables the dumping of Node creations and AST rewrites in JSON format.Can be set with
-Dtruffle.TraceASTJSON=true
.
-
-
Constructor Details
-
TruffleOptions
public TruffleOptions()
-