comparison src/share/vm/c1/c1_Compilation.hpp @ 12962:5ccbab1c69f3

8026251: New type profiling points: parameters to methods Summary: x86 interpreter and c1 type profiling for parameters on method entries Reviewed-by: kvn, twisti
author roland
date Tue, 22 Oct 2013 09:51:47 +0200
parents d13d7aba8c12
children 183bd5c00828
comparison
equal deleted inserted replaced
12961:4748b3308cda 12962:5ccbab1c69f3
236 } 236 }
237 bool profile_checkcasts() { 237 bool profile_checkcasts() {
238 return env()->comp_level() == CompLevel_full_profile && 238 return env()->comp_level() == CompLevel_full_profile &&
239 C1UpdateMethodData && C1ProfileCheckcasts; 239 C1UpdateMethodData && C1ProfileCheckcasts;
240 } 240 }
241 241 bool profile_parameters() {
242 return env()->comp_level() == CompLevel_full_profile &&
243 C1UpdateMethodData && MethodData::profile_parameters();
244 }
245 bool profile_arguments() {
246 return env()->comp_level() == CompLevel_full_profile &&
247 C1UpdateMethodData && MethodData::profile_arguments();
248 }
249 bool profile_return() {
250 return env()->comp_level() == CompLevel_full_profile &&
251 C1UpdateMethodData && MethodData::profile_return();
252 }
242 // will compilation make optimistic assumptions that might lead to 253 // will compilation make optimistic assumptions that might lead to
243 // deoptimization and that the runtime will account for? 254 // deoptimization and that the runtime will account for?
244 bool is_optimistic() const { 255 bool is_optimistic() const {
245 return !TieredCompilation && 256 return !TieredCompilation &&
246 (RangeCheckElimination || UseLoopInvariantCodeMotion) && 257 (RangeCheckElimination || UseLoopInvariantCodeMotion) &&