< prev index next >
src/share/vm/interpreter/linkResolver.hpp
Print this page
@@ -150,22 +150,22 @@
enum AccessCheck {
needs_access_check,
skip_access_check
};
- LinkInfo(const constantPoolHandle& pool, int index, methodHandle current_method, TRAPS);
+ LinkInfo(const constantPoolHandle& pool, int index, const methodHandle& current_method, TRAPS);
LinkInfo(const constantPoolHandle& pool, int index, TRAPS);
// Condensed information from other call sites within the vm.
LinkInfo(Klass* resolved_klass, Symbol* name, Symbol* signature, Klass* current_klass,
AccessCheck check_access = needs_access_check,
constantTag tag = JVM_CONSTANT_Invalid) :
_resolved_klass(resolved_klass),
_name(name), _signature(signature), _current_klass(current_klass), _current_method(methodHandle()),
_check_access(check_access == needs_access_check), _tag(tag) {}
- LinkInfo(Klass* resolved_klass, Symbol* name, Symbol* signature, methodHandle current_method,
+ LinkInfo(Klass* resolved_klass, Symbol* name, Symbol* signature, const methodHandle& current_method,
AccessCheck check_access = needs_access_check,
constantTag tag = JVM_CONSTANT_Invalid) :
_resolved_klass(resolved_klass),
_name(name), _signature(signature), _current_klass(current_method->method_holder()), _current_method(current_method),
_check_access(check_access == needs_access_check), _tag(tag) {}
@@ -199,14 +199,15 @@
friend class klassVtable;
friend class klassItable;
private:
- static methodHandle lookup_method_in_klasses(const LinkInfo& link_info,
+ static Method* lookup_method_in_klasses(const LinkInfo& link_info,
bool checkpolymorphism,
- bool in_imethod_resolve, TRAPS);
- static methodHandle lookup_method_in_interfaces(const LinkInfo& link_info, TRAPS);
+ bool in_imethod_resolve);
+ static Method* lookup_method_in_interfaces(const LinkInfo& link_info);
+
static methodHandle lookup_polymorphic_method(const LinkInfo& link_info,
Handle *appendix_result_or_null,
Handle *method_type_result, TRAPS);
JVMCI_ONLY(public:) // Needed for CompilerToVM.resolveMethod()
// Not Linktime so doesn't take LinkInfo
< prev index next >