Mercurial > hg > truffle
comparison graal/com.oracle.max.graal.compiler/src/com/oracle/max/graal/compiler/GraalOptions.java @ 4699:83e7065e9c75
adjust inlining policy's maximum trivial size
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Fri, 24 Feb 2012 18:29:00 -0800 |
parents | 6872a9e3a4b9 |
children | 3ab34c33d690 |
comparison
equal
deleted
inserted
replaced
4698:6872a9e3a4b9 | 4699:83e7065e9c75 |
---|---|
45 public static boolean InlineMonomorphicCalls = true; | 45 public static boolean InlineMonomorphicCalls = true; |
46 public static boolean InlinePolymorphicCalls = true; | 46 public static boolean InlinePolymorphicCalls = true; |
47 public static boolean InlineMegamorphicCalls = ____; | 47 public static boolean InlineMegamorphicCalls = ____; |
48 public static int InliningPolicy = 4; | 48 public static int InliningPolicy = 4; |
49 public static int WeightComputationPolicy = 2; | 49 public static int WeightComputationPolicy = 2; |
50 public static int MaximumTrivialSize = 6; | 50 public static int MaximumTrivialSize = 10; |
51 public static int MaximumInlineLevel = 30; | 51 public static int MaximumInlineLevel = 30; |
52 public static int MaximumDesiredSize = 6000; | 52 public static int MaximumDesiredSize = 6000; |
53 public static int MaximumRecursiveInlining = 1; | 53 public static int MaximumRecursiveInlining = 1; |
54 public static int SmallCompiledCodeSize = 1500; | 54 public static int SmallCompiledCodeSize = 1500; |
55 public static boolean LimitInlinedProbability = ____; | 55 public static boolean LimitInlinedProbability = ____; |
57 public static boolean ParseBeforeInlining = ____; | 57 public static boolean ParseBeforeInlining = ____; |
58 public static float InliningSizePenaltyExp = 20; | 58 public static float InliningSizePenaltyExp = 20; |
59 public static float MaximumInlineWeight = 1.25f; | 59 public static float MaximumInlineWeight = 1.25f; |
60 public static float InliningSizePenalty = 1; | 60 public static float InliningSizePenalty = 1; |
61 // StaticSizeBasedInliningPolicy (1), MinimumCodeSizeBasedInlining (2), | 61 // StaticSizeBasedInliningPolicy (1), MinimumCodeSizeBasedInlining (2), |
62 // DynamicSizeBasedInliningPolicy (3), GreedySizeBasedInlining (4) | 62 // DynamicSizeBasedInliningPolicy (3) |
63 public static int MaximumInlineSize = 35; | 63 public static int MaximumInlineSize = 35; |
64 // GreedySizeBasedInlining (4) | |
65 public static int MaximumGreedyInlineSize = 200; | |
66 // Common options for inlining policies 1 to 4 | |
64 public static float NestedInliningSizeRatio = 1f; | 67 public static float NestedInliningSizeRatio = 1f; |
65 public static float BoostInliningForEscapeAnalysis = 2f; | 68 public static float BoostInliningForEscapeAnalysis = 2f; |
66 public static int MaximumGreedyInlineSize = 200; | |
67 public static float ProbabilityCapForInlining = 1f; | 69 public static float ProbabilityCapForInlining = 1f; |
68 | 70 |
69 // escape analysis settings | 71 // escape analysis settings |
70 public static boolean EscapeAnalysis = true; | 72 public static boolean EscapeAnalysis = true; |
71 public static int ForcedInlineEscapeWeight = 100; | 73 public static int ForcedInlineEscapeWeight = 100; |