Print this page
rev 1081 : imported patch indy-cleanup-6893081.patch

Split Close
Expand all
Collapse all
          --- old/src/share/vm/interpreter/linkResolver.hpp
          +++ new/src/share/vm/interpreter/linkResolver.hpp
↓ open down ↓ 125 lines elided ↑ open up ↑
 126  126  
 127  127    static void check_field_accessability   (KlassHandle ref_klass, KlassHandle resolved_klass, KlassHandle sel_klass, fieldDescriptor& fd, TRAPS);
 128  128    static void check_method_accessability  (KlassHandle ref_klass, KlassHandle resolved_klass, KlassHandle sel_klass, methodHandle sel_method, TRAPS);
 129  129  
 130  130   public:
 131  131    // constant pool resolving
 132  132    static void check_klass_accessability(KlassHandle ref_klass, KlassHandle sel_klass, TRAPS);
 133  133  
 134  134    // static resolving for all calls except interface calls
 135  135    static void resolve_method          (methodHandle& method_result, KlassHandle& klass_result, constantPoolHandle pool, int index, TRAPS);
      136 +  static void resolve_dynamic_method  (methodHandle& resolved_method, KlassHandle& resolved_klass, constantPoolHandle pool, int index, TRAPS);
 136  137    static void resolve_interface_method(methodHandle& method_result, KlassHandle& klass_result, constantPoolHandle pool, int index, TRAPS);
 137  138  
 138  139    // runtime/static resolving for fields
 139  140    static void resolve_field(FieldAccessInfo& result, constantPoolHandle pool, int index, Bytecodes::Code byte, bool check_only, TRAPS);
 140  141    // takes an extra bool argument "update_pool" to decide whether to update the constantPool during klass resolution.
 141  142    static void resolve_field(FieldAccessInfo& result, constantPoolHandle pool, int index, Bytecodes::Code byte, bool check_only, bool update_pool, TRAPS);
 142  143  
 143  144    // runtime resolving:
 144  145    //   resolved_klass = specified class (i.e., static receiver class)
 145  146    //   current_klass  = sending method holder (i.e., class containing the method containing the call being resolved)
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX