comparison src/share/vm/c1/c1_Compilation.hpp @ 13086:096c224171c4

Merge with http://hg.openjdk.java.net/hsx/hsx25/hotspot/
author Doug Simon <doug.simon@oracle.com>
date Wed, 20 Nov 2013 00:10:38 +0100
parents 5ccbab1c69f3
children 183bd5c00828
comparison
equal deleted inserted replaced
12782:92b7ec34ddfa 13086:096c224171c4
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) &&
247 method()->method_data()->trap_count(Deoptimization::Reason_none) == 0; 258 method()->method_data()->trap_count(Deoptimization::Reason_none) == 0;
248 } 259 }
260
261 ciKlass* cha_exact_type(ciType* type);
249 }; 262 };
250 263
251 264
252 // Macro definitions for unified bailout-support 265 // Macro definitions for unified bailout-support
253 // The methods bailout() and bailed_out() are present in all classes 266 // The methods bailout() and bailed_out() are present in all classes