Mercurial > hg > truffle
comparison src/share/vm/oops/method.hpp @ 7998:6a51fc70a15e
8006613: adding reason to made_not_compilable
Reviewed-by: kvn, vlivanov
Contributed-by: Igor Ignatyev <igor.ignatyev@oracle.com>
author | vlivanov |
---|---|
date | Tue, 05 Feb 2013 08:25:51 -0800 |
parents | 18c3c3fa291b |
children | d05ff4bf41b3 |
comparison
equal
deleted
inserted
replaced
7997:8bd61471a109 | 7998:6a51fc70a15e |
---|---|
758 | 758 |
759 // Indicates whether compilation failed earlier for this method, or | 759 // Indicates whether compilation failed earlier for this method, or |
760 // whether it is not compilable for another reason like having a | 760 // whether it is not compilable for another reason like having a |
761 // breakpoint set in it. | 761 // breakpoint set in it. |
762 bool is_not_compilable(int comp_level = CompLevel_any) const; | 762 bool is_not_compilable(int comp_level = CompLevel_any) const; |
763 void set_not_compilable(int comp_level = CompLevel_all, bool report = true); | 763 void set_not_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL); |
764 void set_not_compilable_quietly(int comp_level = CompLevel_all) { | 764 void set_not_compilable_quietly(int comp_level = CompLevel_all) { |
765 set_not_compilable(comp_level, false); | 765 set_not_compilable(comp_level, false); |
766 } | 766 } |
767 bool is_not_osr_compilable(int comp_level = CompLevel_any) const; | 767 bool is_not_osr_compilable(int comp_level = CompLevel_any) const; |
768 void set_not_osr_compilable(int comp_level = CompLevel_all, bool report = true); | 768 void set_not_osr_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL); |
769 void set_not_osr_compilable_quietly(int comp_level = CompLevel_all) { | 769 void set_not_osr_compilable_quietly(int comp_level = CompLevel_all) { |
770 set_not_osr_compilable(comp_level, false); | 770 set_not_osr_compilable(comp_level, false); |
771 } | 771 } |
772 | 772 |
773 private: | 773 private: |
774 void print_made_not_compilable(int comp_level, bool is_osr, bool report); | 774 void print_made_not_compilable(int comp_level, bool is_osr, bool report, const char* reason); |
775 | 775 |
776 public: | 776 public: |
777 bool is_not_c1_compilable() const { return access_flags().is_not_c1_compilable(); } | 777 bool is_not_c1_compilable() const { return access_flags().is_not_c1_compilable(); } |
778 void set_not_c1_compilable() { _access_flags.set_not_c1_compilable(); } | 778 void set_not_c1_compilable() { _access_flags.set_not_c1_compilable(); } |
779 bool is_not_c2_compilable() const { return access_flags().is_not_c2_compilable(); } | 779 bool is_not_c2_compilable() const { return access_flags().is_not_c2_compilable(); } |