comparison graal/GraalCompiler/src/com/sun/c1x/C1XOptions.java @ 2534:4af63190ee3d

Prohibit inlining of synchronized and inlining of method with exception handlers (remove C1XOption).
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 27 Apr 2011 19:25:26 +0200
parents c480605ef068
children cc5443caae16
comparison
equal deleted inserted replaced
2533:c480605ef068 2534:4af63190ee3d
38 private static final boolean ____ = false; 38 private static final boolean ____ = false;
39 // Checkstyle: resume 39 // Checkstyle: resume
40 40
41 // inlining settings 41 // inlining settings
42 public static boolean OptInline = ____; 42 public static boolean OptInline = ____;
43 public static boolean OptInlineExcept = ____;
44 public static boolean OptInlineSynchronized = ____;
45 43
46 public static int MaximumInstructionCount = 37000; 44 public static int MaximumInstructionCount = 37000;
47 public static float MaximumInlineRatio = 0.90f; 45 public static float MaximumInlineRatio = 0.90f;
48 public static int MaximumInlineSize = 35; 46 public static int MaximumInlineSize = 35;
49 public static int MaximumTrivialSize = 6; 47 public static int MaximumTrivialSize = 6;
93 // all optimization settings 91 // all optimization settings
94 public static boolean OptLocalValueNumbering; 92 public static boolean OptLocalValueNumbering;
95 public static boolean OptLocalLoadElimination; 93 public static boolean OptLocalLoadElimination;
96 public static boolean OptCSEArrayLength; 94 public static boolean OptCSEArrayLength;
97 public static boolean OptBlockSkipping; 95 public static boolean OptBlockSkipping;
98 public static boolean OptIterativeNCE;
99 public static boolean OptFlowSensitiveNCE;
100 public static boolean OptDeadCodeElimination1;
101 public static boolean OptControlFlow; 96 public static boolean OptControlFlow;
102 public static boolean OptMoveElimination; 97 public static boolean OptMoveElimination;
103 98
104 // optimistic optimization settings 99 // optimistic optimization settings
105 public static boolean UseAssumptions = true; 100 public static boolean UseAssumptions = true;
168 // Level 2 optimizations 163 // Level 2 optimizations
169 OptInline = ll; 164 OptInline = ll;
170 165
171 // Level 3 optimizations 166 // Level 3 optimizations
172 OptCSEArrayLength = lll; 167 OptCSEArrayLength = lll;
173 OptInlineExcept = lll;
174 OptInlineSynchronized = lll;
175 UseStackMapTableLiveness = lll; 168 UseStackMapTableLiveness = lll;
176 UseAssumptions = lll; 169 UseAssumptions = lll;
177 OptIterativeNCE = lll;
178 OptFlowSensitiveNCE = lll;
179 OptDeadCodeElimination1 = lll;
180 OptBlockSkipping = lll; 170 OptBlockSkipping = lll;
181 } 171 }
182 } 172 }