src/hotspot/share/oops/method.hpp
changeset 54721 3661ad97da8f
parent 54432 532e88de77eb
child 54927 1512d88b24c6
equal deleted inserted replaced
54720:c48f141e7c5b 54721:3661ad97da8f
   617   // interface method declared with 'default' - excludes private interface methods
   617   // interface method declared with 'default' - excludes private interface methods
   618   bool is_default_method() const;
   618   bool is_default_method() const;
   619 
   619 
   620   // true if method needs no dynamic dispatch (final and/or no vtable entry)
   620   // true if method needs no dynamic dispatch (final and/or no vtable entry)
   621   bool can_be_statically_bound() const;
   621   bool can_be_statically_bound() const;
       
   622   bool can_be_statically_bound(InstanceKlass* context) const;
   622   bool can_be_statically_bound(AccessFlags class_access_flags) const;
   623   bool can_be_statically_bound(AccessFlags class_access_flags) const;
   623 
   624 
   624   // returns true if the method has any backward branches.
   625   // returns true if the method has any backward branches.
   625   bool has_loops() {
   626   bool has_loops() {
   626     return access_flags().loops_flag_init() ? access_flags().has_loops() : compute_has_loops_flag();
   627     return access_flags().loops_flag_init() ? access_flags().has_loops() : compute_has_loops_flag();