Mercurial > hg > graal-jvmci-8
comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleOptions.java @ 18961:afa70d3e8159
Allow users to provide their own TruffleRuntime implementation
and add ForceInterpreter option to TruffleOptions.
author | Paul Woegerer <paul.woegerer@oracle.com> |
---|---|
date | Tue, 27 Jan 2015 14:11:52 +0100 |
parents | e52ad0d3b7d6 |
children | 5ea169a3bf81 |
comparison
equal
deleted
inserted
replaced
18960:858b1e3ab2ee | 18961:afa70d3e8159 |
---|---|
30 | 30 |
31 /** | 31 /** |
32 * Class containing general Truffle options. | 32 * Class containing general Truffle options. |
33 */ | 33 */ |
34 public class TruffleOptions { | 34 public class TruffleOptions { |
35 | |
36 /** | |
37 * Force truffle to run in interpreter mode. | |
38 * <p> | |
39 * Can be set with {@code -Dtruffle.ForceInterpreter=true}. | |
40 */ | |
41 public static boolean ForceInterpreter = Boolean.getBoolean("truffle.ForceInterpreter"); | |
35 | 42 |
36 /** | 43 /** |
37 * Enables/disables the rewriting of traces in the Truffle runtime to stdout. | 44 * Enables/disables the rewriting of traces in the Truffle runtime to stdout. |
38 * <p> | 45 * <p> |
39 * Can be set with {@code -Dtruffle.TraceRewrites=true}. | 46 * Can be set with {@code -Dtruffle.TraceRewrites=true}. |