src/share/vm/oops/method.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File hotspot Sdiff src/share/vm/oops

src/share/vm/oops/method.hpp

Print this page




 796     _flags = x ? (_flags | _dont_inline) : (_flags & ~_dont_inline);
 797   }
 798 
 799   bool is_hidden() {
 800     return (_flags & _hidden) != 0;
 801   }
 802   void set_hidden(bool x) {
 803     _flags = x ? (_flags | _hidden) : (_flags & ~_hidden);
 804   }
 805 
 806   ConstMethod::MethodType method_type() const {
 807       return _constMethod->method_type();
 808   }
 809   bool is_overpass() const { return method_type() == ConstMethod::OVERPASS; }
 810 
 811   // On-stack replacement support
 812   bool has_osr_nmethod(int level, bool match_level) {
 813    return method_holder()->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL;
 814   }
 815 
 816   nmethod* lookup_osr_nmethod_for(int bci, int level, bool match_level) {
 817     return method_holder()->lookup_osr_nmethod(this, bci, level, match_level);
 818   }
 819 
 820   // Inline cache support
 821   void cleanup_inline_caches();
 822 
 823   // Find if klass for method is loaded
 824   bool is_klass_loaded_by_klass_index(int klass_index) const;
 825   bool is_klass_loaded(int refinfo_index, bool must_be_resolved = false) const;
 826 
 827   // Indicates whether compilation failed earlier for this method, or
 828   // whether it is not compilable for another reason like having a
 829   // breakpoint set in it.
 830   bool  is_not_compilable(int comp_level = CompLevel_any) const;
 831   void set_not_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL);
 832   void set_not_compilable_quietly(int comp_level = CompLevel_all) {
 833     set_not_compilable(comp_level, false);
 834   }
 835   bool  is_not_osr_compilable(int comp_level = CompLevel_any) const;
 836   void set_not_osr_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL);
 837   void set_not_osr_compilable_quietly(int comp_level = CompLevel_all) {




 796     _flags = x ? (_flags | _dont_inline) : (_flags & ~_dont_inline);
 797   }
 798 
 799   bool is_hidden() {
 800     return (_flags & _hidden) != 0;
 801   }
 802   void set_hidden(bool x) {
 803     _flags = x ? (_flags | _hidden) : (_flags & ~_hidden);
 804   }
 805 
 806   ConstMethod::MethodType method_type() const {
 807       return _constMethod->method_type();
 808   }
 809   bool is_overpass() const { return method_type() == ConstMethod::OVERPASS; }
 810 
 811   // On-stack replacement support
 812   bool has_osr_nmethod(int level, bool match_level) {
 813    return method_holder()->lookup_osr_nmethod(this, InvocationEntryBci, level, match_level) != NULL;
 814   }
 815 
 816   nmethod* lookup_osr_nmethod_for(int bci, int level, bool match_level, bool skip_marked = false) {
 817     return method_holder()->lookup_osr_nmethod(this, bci, level, match_level, skip_marked);
 818   }
 819 
 820   // Inline cache support
 821   void cleanup_inline_caches();
 822 
 823   // Find if klass for method is loaded
 824   bool is_klass_loaded_by_klass_index(int klass_index) const;
 825   bool is_klass_loaded(int refinfo_index, bool must_be_resolved = false) const;
 826 
 827   // Indicates whether compilation failed earlier for this method, or
 828   // whether it is not compilable for another reason like having a
 829   // breakpoint set in it.
 830   bool  is_not_compilable(int comp_level = CompLevel_any) const;
 831   void set_not_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL);
 832   void set_not_compilable_quietly(int comp_level = CompLevel_all) {
 833     set_not_compilable(comp_level, false);
 834   }
 835   bool  is_not_osr_compilable(int comp_level = CompLevel_any) const;
 836   void set_not_osr_compilable(int comp_level = CompLevel_all, bool report = true, const char* reason = NULL);
 837   void set_not_osr_compilable_quietly(int comp_level = CompLevel_all) {


src/share/vm/oops/method.hpp
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File