8263992: Remove dead code NativeLookup::base_library_lookup

Reviewed-by: coleenp, dholmes
This commit is contained in:
Ioi Lam 2021-03-23 21:15:38 +00:00
parent 91d86e6ac1
commit 35102cb03f
12 changed files with 22 additions and 57 deletions

View file

@ -1450,9 +1450,8 @@ JRT_ENTRY(void, InterpreterRuntime::prepare_native_call(JavaThread* thread, Meth
methodHandle m(thread, method);
assert(m->is_native(), "sanity check");
// lookup native function entry point if it doesn't exist
bool in_base_library;
if (!m->has_native_function()) {
NativeLookup::lookup(m, in_base_library, CHECK);
NativeLookup::lookup(m, CHECK);
}
// make sure signature handler is installed
SignatureHandlerLibrary::add(m);