Mercurial > hg > truffle
comparison truffle/com.oracle.truffle.api/src/com/oracle/truffle/api/TruffleOptions.java @ 22111:8b72dfac5cc7
Allow selecting the TruffleRuntime using a system property
author | Christian Wimmer <christian.wimmer@oracle.com> |
---|---|
date | Wed, 26 Aug 2015 14:39:11 -0700 |
parents | b960accdd9b5 |
children | dc83cc1f94f2 |
comparison
equal
deleted
inserted
replaced
22106:3b2ae36a942f | 22111:8b72dfac5cc7 |
---|---|
32 * Class containing general Truffle options. | 32 * Class containing general Truffle options. |
33 */ | 33 */ |
34 public final class TruffleOptions { | 34 public final class TruffleOptions { |
35 private TruffleOptions() { | 35 private TruffleOptions() { |
36 } | 36 } |
37 | |
38 /** | |
39 * Force truffle to run in interpreter mode. | |
40 * <p> | |
41 * Can be set with {@code -Dtruffle.ForceInterpreter=true}. | |
42 */ | |
43 public static final boolean ForceInterpreter = Boolean.getBoolean("truffle.ForceInterpreter"); | |
44 | 37 |
45 /** | 38 /** |
46 * Enables/disables the rewriting of traces in the Truffle runtime to stdout. | 39 * Enables/disables the rewriting of traces in the Truffle runtime to stdout. |
47 * <p> | 40 * <p> |
48 * Can be set with {@code -Dtruffle.TraceRewrites=true}. | 41 * Can be set with {@code -Dtruffle.TraceRewrites=true}. |