# HG changeset patch # User Andreas Woess # Date 1428535479 -7200 # Node ID 874eac8b4d7f10dd1b68a9c1c6415677b816af3d # Parent 6f8d03da5d08163285f16ea3f9880e6974648c4e Truffle: remove unused compiler options diff -r 6f8d03da5d08 -r 874eac8b4d7f graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleCompilerOptions.java --- 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 TruffleCompileOnly = new OptionValue<>(null); @Option(help = "Exclude assertion code from Truffle compilations", type = OptionType.Debug) - public static final StableOptionValue TruffleExcludeAssertions = new StableOptionValue<>(true); + public static final OptionValue TruffleExcludeAssertions = new StableOptionValue<>(true); @Option(help = "Compile call target when call count exceeds this threshold", type = OptionType.User) public static final OptionValue TruffleCompilationThreshold = new OptionValue<>(1000); @@ -65,21 +65,12 @@ @Option(help = "Enable automatic inlining of call targets", type = OptionType.Debug) public static final OptionValue TruffleFunctionInlining = new OptionValue<>(true); - @Option(help = "Enable an expansion cache per CallTarget. Only functionable with TruffleContextSensitiveInlining enabled.", type = OptionType.Debug) - public static final OptionValue TruffleFunctionInliningCache = new OptionValue<>(true); - - @Option(help = "Maximum number of Graal IR nodes during partial evaluation", type = OptionType.Expert) - public static final OptionValue 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 TruffleInliningMaxCallerSize = new OptionValue<>(2250); @Option(help = "Maximum level of recursive inlining", type = OptionType.Expert) public static final OptionValue TruffleMaximumRecursiveInlining = new OptionValue<>(4); - @Option(help = "Defines the number of graal nodes that triggers a performance warning.", type = OptionType.Debug) - public static final OptionValue TrufflePerformanceWarningGraalNodeCount = new OptionValue<>(1000); - @Option(help = "Enable call target splitting", type = OptionType.Expert) public static final OptionValue 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 TruffleSplittingMaxCalleeSize = new OptionValue<>(100); - @Option(help = "Number of most recently used methods in truffle cache", type = OptionType.Debug) - public static final OptionValue TruffleMaxCompilationCacheSize = new OptionValue<>(512); - @Option(help = "Enable asynchronous truffle compilation in background thread", type = OptionType.Expert) public static final OptionValue TruffleBackgroundCompilation = new OptionValue<>(true); @Option(help = "Manually set the number of compiler threads", type = OptionType.Expert) - public static final StableOptionValue TruffleCompilerThreads = new StableOptionValue<>(0); + public static final OptionValue TruffleCompilerThreads = new StableOptionValue<>(0); @Option(help = "Enable inlining across Truffle boundary", type = OptionType.Expert) public static final OptionValue TruffleInlineAcrossTruffleBoundary = new OptionValue<>(false); @Option(help = "", type = OptionType.Debug) - public static final OptionValue TruffleCompilationDecisionTime = new OptionValue<>(100); - - @Option(help = "", type = OptionType.Debug) - public static final OptionValue TruffleCompilationDecisionTimePrintFail = new OptionValue<>(false); - - @Option(help = "", type = OptionType.Debug) public static final OptionValue TruffleReturnTypeSpeculation = new StableOptionValue<>(true); @Option(help = "", type = OptionType.Debug) public static final OptionValue TruffleArgumentTypeSpeculation = new StableOptionValue<>(true); @Option(help = "", type = OptionType.Debug) - public static final StableOptionValue TruffleUseFrameWithoutBoxing = new StableOptionValue<>(true); + public static final OptionValue 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 TraceTruffleCompilationCallTree = new OptionValue<>(false); - @Option(help = "Print the expansion trees for each compilation", type = OptionType.Debug) - public static final OptionValue TraceTruffleExpansion = new OptionValue<>(false); - @Option(help = "Print source secions for printed expansion trees", type = OptionType.Debug) public static final OptionValue TraceTruffleExpansionSource = new OptionValue<>(false); @Option(help = "Prints a histogram of all expanded Java methods.", type = OptionType.Debug) public static final OptionValue PrintTruffleExpansionHistogram = new OptionValue<>(false); - @Option(help = "Print detailed information for the Truffle compilation cache", type = OptionType.Debug) - public static final OptionValue TraceTruffleCacheDetails = new OptionValue<>(false); - @Option(help = "Treat compilation exceptions as fatal exceptions that will exit the application", type = OptionType.Debug) public static final OptionValue TruffleCompilationExceptionsAreFatal = new OptionValue<>(false);