comparison src/share/vm/ci/ciMethod.hpp @ 23086:bf41eee321e5

8074551: GWT can be marked non-compilable due to deopt count pollution Reviewed-by: kvn
author vlivanov
date Thu, 11 Jun 2015 14:19:40 +0300
parents 99edc344d77c
children dd9cc155639c 0b85ccd62409
comparison
equal deleted inserted replaced
23085:0b7060827bca 23086:bf41eee321e5
76 bool _uses_monitors; 76 bool _uses_monitors;
77 bool _balanced_monitors; 77 bool _balanced_monitors;
78 bool _is_c1_compilable; 78 bool _is_c1_compilable;
79 bool _is_c2_compilable; 79 bool _is_c2_compilable;
80 bool _can_be_statically_bound; 80 bool _can_be_statically_bound;
81 bool _has_injected_profile;
82 81
83 // Lazy fields, filled in on demand 82 // Lazy fields, filled in on demand
84 address _code; 83 address _code;
85 ciExceptionHandler** _exception_handlers; 84 ciExceptionHandler** _exception_handlers;
86 85
171 int size_of_parameters() const { check_is_loaded(); return _size_of_parameters; } 170 int size_of_parameters() const { check_is_loaded(); return _size_of_parameters; }
172 171
173 // Code size for inlining decisions. 172 // Code size for inlining decisions.
174 int code_size_for_inlining(); 173 int code_size_for_inlining();
175 174
176 bool caller_sensitive() { return get_Method()->caller_sensitive(); } 175 bool caller_sensitive() const { return get_Method()->caller_sensitive(); }
177 bool force_inline() { return get_Method()->force_inline(); } 176 bool force_inline() const { return get_Method()->force_inline(); }
178 bool dont_inline() { return get_Method()->dont_inline(); } 177 bool dont_inline() const { return get_Method()->dont_inline(); }
179 178
180 int comp_level(); 179 int comp_level();
181 int highest_osr_comp_level(); 180 int highest_osr_comp_level();
182 181
183 Bytecodes::Code java_code_at_bci(int bci) { 182 Bytecodes::Code java_code_at_bci(int bci) {
281 bool ensure_method_data(); // make sure it exists in the VM also 280 bool ensure_method_data(); // make sure it exists in the VM also
282 MethodCounters* ensure_method_counters(); 281 MethodCounters* ensure_method_counters();
283 int instructions_size(); 282 int instructions_size();
284 int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC 283 int scale_count(int count, float prof_factor = 1.); // make MDO count commensurate with IIC
285 284
286 bool has_injected_profile() const { return _has_injected_profile; }
287 void set_injected_profile(bool x) { _has_injected_profile = x; }
288
289 // Stack walking support 285 // Stack walking support
290 bool is_ignored_by_security_stack_walk() const; 286 bool is_ignored_by_security_stack_walk() const;
291 287
292 // JSR 292 support 288 // JSR 292 support
293 bool is_method_handle_intrinsic() const; 289 bool is_method_handle_intrinsic() const;