changeset 20817:874eac8b4d7f

Truffle: remove unused compiler options
author Andreas Woess <andreas.woess@oracle.com>
date Thu, 09 Apr 2015 01:24:39 +0200
parents 6f8d03da5d08
children 79d212bfee22
files graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleCompilerOptions.java
diffstat 1 files changed, 3 insertions(+), 27 deletions(-) [+]
line wrap: on
line diff
--- a/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleCompilerOptions.java	Wed Apr 08 19:13:41 2015 +0200
+++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleCompilerOptions.java	Thu Apr 09 01:24:39 2015 +0200
@@ -45,7 +45,7 @@
     public static final OptionValue<String> TruffleCompileOnly = new OptionValue<>(null);
 
     @Option(help = "Exclude assertion code from Truffle compilations", type = OptionType.Debug)
-    public static final StableOptionValue<Boolean> TruffleExcludeAssertions = new StableOptionValue<>(true);
+    public static final OptionValue<Boolean> TruffleExcludeAssertions = new StableOptionValue<>(true);
 
     @Option(help = "Compile call target when call count exceeds this threshold", type = OptionType.User)
     public static final OptionValue<Integer> TruffleCompilationThreshold = new OptionValue<>(1000);
@@ -65,21 +65,12 @@
     @Option(help = "Enable automatic inlining of call targets", type = OptionType.Debug)
     public static final OptionValue<Boolean> TruffleFunctionInlining = new OptionValue<>(true);
 
-    @Option(help = "Enable an expansion cache per CallTarget. Only functionable with TruffleContextSensitiveInlining enabled.", type = OptionType.Debug)
-    public static final OptionValue<Boolean> TruffleFunctionInliningCache = new OptionValue<>(true);
-
-    @Option(help = "Maximum number of Graal IR nodes during partial evaluation", type = OptionType.Expert)
-    public static final OptionValue<Integer> TruffleGraphMaxNodes = new OptionValue<>(200000);
-
     @Option(help = "Stop inlining if caller's cumulative tree size would exceed this limit", type = OptionType.Expert)
     public static final OptionValue<Integer> TruffleInliningMaxCallerSize = new OptionValue<>(2250);
 
     @Option(help = "Maximum level of recursive inlining", type = OptionType.Expert)
     public static final OptionValue<Integer> TruffleMaximumRecursiveInlining = new OptionValue<>(4);
 
-    @Option(help = "Defines the number of graal nodes that triggers a performance warning.", type = OptionType.Debug)
-    public static final OptionValue<Integer> TrufflePerformanceWarningGraalNodeCount = new OptionValue<>(1000);
-
     @Option(help = "Enable call target splitting", type = OptionType.Expert)
     public static final OptionValue<Boolean> TruffleSplitting = new OptionValue<>(true);
 
@@ -107,32 +98,23 @@
     @Option(help = "Disable call target splitting if tree size exceeds this limit", type = OptionType.Debug)
     public static final OptionValue<Integer> TruffleSplittingMaxCalleeSize = new OptionValue<>(100);
 
-    @Option(help = "Number of most recently used methods in truffle cache", type = OptionType.Debug)
-    public static final OptionValue<Integer> TruffleMaxCompilationCacheSize = new OptionValue<>(512);
-
     @Option(help = "Enable asynchronous truffle compilation in background thread", type = OptionType.Expert)
     public static final OptionValue<Boolean> TruffleBackgroundCompilation = new OptionValue<>(true);
 
     @Option(help = "Manually set the number of compiler threads", type = OptionType.Expert)
-    public static final StableOptionValue<Integer> TruffleCompilerThreads = new StableOptionValue<>(0);
+    public static final OptionValue<Integer> TruffleCompilerThreads = new StableOptionValue<>(0);
 
     @Option(help = "Enable inlining across Truffle boundary", type = OptionType.Expert)
     public static final OptionValue<Boolean> TruffleInlineAcrossTruffleBoundary = new OptionValue<>(false);
 
     @Option(help = "", type = OptionType.Debug)
-    public static final OptionValue<Integer> TruffleCompilationDecisionTime = new OptionValue<>(100);
-
-    @Option(help = "", type = OptionType.Debug)
-    public static final OptionValue<Boolean> TruffleCompilationDecisionTimePrintFail = new OptionValue<>(false);
-
-    @Option(help = "", type = OptionType.Debug)
     public static final OptionValue<Boolean> TruffleReturnTypeSpeculation = new StableOptionValue<>(true);
 
     @Option(help = "", type = OptionType.Debug)
     public static final OptionValue<Boolean> TruffleArgumentTypeSpeculation = new StableOptionValue<>(true);
 
     @Option(help = "", type = OptionType.Debug)
-    public static final StableOptionValue<Boolean> TruffleUseFrameWithoutBoxing = new StableOptionValue<>(true);
+    public static final OptionValue<Boolean> TruffleUseFrameWithoutBoxing = new StableOptionValue<>(true);
 
     // tracing
     @Option(help = "Print potential performance problems", type = OptionType.Debug)
@@ -153,18 +135,12 @@
     @Option(help = "Print the inlined call tree for each compiled method", type = OptionType.Debug)
     public static final OptionValue<Boolean> TraceTruffleCompilationCallTree = new OptionValue<>(false);
 
-    @Option(help = "Print the expansion trees for each compilation", type = OptionType.Debug)
-    public static final OptionValue<Boolean> TraceTruffleExpansion = new OptionValue<>(false);
-
     @Option(help = "Print source secions for printed expansion trees", type = OptionType.Debug)
     public static final OptionValue<Boolean> TraceTruffleExpansionSource = new OptionValue<>(false);
 
     @Option(help = "Prints a histogram of all expanded Java methods.", type = OptionType.Debug)
     public static final OptionValue<Boolean> PrintTruffleExpansionHistogram = new OptionValue<>(false);
 
-    @Option(help = "Print detailed information for the Truffle compilation cache", type = OptionType.Debug)
-    public static final OptionValue<Boolean> TraceTruffleCacheDetails = new OptionValue<>(false);
-
     @Option(help = "Treat compilation exceptions as fatal exceptions that will exit the application", type = OptionType.Debug)
     public static final OptionValue<Boolean> TruffleCompilationExceptionsAreFatal = new OptionValue<>(false);