803 bool is_always_compilable() const; |
803 bool is_always_compilable() const; |
804 |
804 |
805 private: |
805 private: |
806 void print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason); |
806 void print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason); |
807 |
807 |
|
808 public: |
808 MethodCounters* get_method_counters(TRAPS) { |
809 MethodCounters* get_method_counters(TRAPS) { |
809 if (_method_counters == NULL) { |
810 if (_method_counters == NULL) { |
810 build_method_counters(this, CHECK_AND_CLEAR_NULL); |
811 build_method_counters(this, CHECK_AND_CLEAR_NULL); |
811 } |
812 } |
812 return _method_counters; |
813 return _method_counters; |
813 } |
814 } |
814 |
815 |
815 public: |
|
816 bool is_not_c1_compilable() const { return access_flags().is_not_c1_compilable(); } |
816 bool is_not_c1_compilable() const { return access_flags().is_not_c1_compilable(); } |
817 void set_not_c1_compilable() { _access_flags.set_not_c1_compilable(); } |
817 void set_not_c1_compilable() { _access_flags.set_not_c1_compilable(); } |
818 void clear_not_c1_compilable() { _access_flags.clear_not_c1_compilable(); } |
818 void clear_not_c1_compilable() { _access_flags.clear_not_c1_compilable(); } |
819 bool is_not_c2_compilable() const { return access_flags().is_not_c2_compilable(); } |
819 bool is_not_c2_compilable() const { return access_flags().is_not_c2_compilable(); } |
820 void set_not_c2_compilable() { _access_flags.set_not_c2_compilable(); } |
820 void set_not_c2_compilable() { _access_flags.set_not_c2_compilable(); } |