# HG changeset patch # User Andreas Woess # Date 1393837922 -3600 # Node ID 3bd2ad96f162e3339bf04ae002e1eb60de823ca4 # Parent 2864cb92fa9a8d94ee69660c6422b9e71e6689af TruffleCompilerOptions: add help texts, delete old options diff -r 2864cb92fa9a -r 3bd2ad96f162 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 Feb 26 15:34:59 2014 +0100 +++ b/graal/com.oracle.graal.truffle/src/com/oracle/graal/truffle/TruffleCompilerOptions.java Mon Mar 03 10:12:02 2014 +0100 @@ -41,46 +41,42 @@ * Element = Include | '~' Exclude ; * */ - @Option(help = "") + @Option(help = "Restrict compilation to comma-separated list of includes (or excludes prefixed with tilde)") public static final OptionValue TruffleCompileOnly = new OptionValue<>(null); - @Option(help = "") + @Option(help = "Compile call target when call count exceeds this threshold") public static final OptionValue TruffleCompilationThreshold = new OptionValue<>(1000); - @Option(help = "") + @Option(help = "Minimum number of calls before a call target is compiled") public static final OptionValue TruffleMinInvokeThreshold = new OptionValue<>(3); - @Option(help = "") + @Option(help = "Delay compilation after an invalidation to allow for reprofiling") public static final OptionValue TruffleInvalidationReprofileCount = new OptionValue<>(3); - @Option(help = "") + @Option(help = "Delay compilation after a node replacement") public static final OptionValue TruffleReplaceReprofileCount = new OptionValue<>(10); - @Option(help = "") - public static final OptionValue TruffleInliningReprofileCount = new OptionValue<>(100); - @Option(help = "") + @Option(help = "Enable automatic inlining of call targets") public static final OptionValue TruffleFunctionInlining = new OptionValue<>(true); - @Option(help = "") + @Option(help = "Maximum number of Graal IR nodes during partial evaluation") public static final OptionValue TruffleGraphMaxNodes = new OptionValue<>(30000); - @Option(help = "") - public static final OptionValue TruffleInliningMaxRecursiveDepth = new OptionValue<>(2); - @Option(help = "") + @Option(help = "Stop inlining if caller's cumulative tree size would exceed this limit") public static final OptionValue TruffleInliningMaxCallerSize = new OptionValue<>(2250); - @Option(help = "") + @Option(help = "Skip inlining candidate if its tree size exceeds this limit") public static final OptionValue TruffleInliningMaxCalleeSize = new OptionValue<>(250); - @Option(help = "") - public static final OptionValue TruffleInliningTrivialSize = new OptionValue<>(10); - @Option(help = "") + @Option(help = "Call frequency relative to call target") public static final OptionValue TruffleInliningMinFrequency = new OptionValue<>(0.3); - @Option(help = "") + @Option(help = "Allow inlining of less hot candidates if tree size is small") + public static final OptionValue TruffleInliningTrivialSize = new OptionValue<>(10); + @Option(help = "Enable call target splitting") public static final OptionValue TruffleSplittingEnabled = new OptionValue<>(true); - @Option(help = "") + @Option(help = "Disable call target splitting if tree size exceeds this limit") public static final OptionValue TruffleSplittingMaxCalleeSize = new OptionValue<>(50); + @Option(help = "Number of most recently used methods in truffle cache") + public static final OptionValue TruffleMaxCompilationCacheSize = new OptionValue<>(512); + @Option(help = "Enable asynchronous truffle compilation in background thread") + public static final OptionValue TruffleBackgroundCompilation = new OptionValue<>(true); @Option(help = "") public static final OptionValue TruffleUseTimeForCompilationDecision = new OptionValue<>(false); @Option(help = "") public static final OptionValue TruffleCompilationDecisionTime = new OptionValue<>(100); @Option(help = "") - public static final OptionValue TruffleMaxCompilationCacheSize = new OptionValue<>(512); - @Option(help = "") public static final OptionValue TruffleCompilationDecisionTimePrintFail = new OptionValue<>(false); - @Option(help = "") - public static final OptionValue TruffleBackgroundCompilation = new OptionValue<>(true); // tracing @Option(help = "")