diff -r 155b084cf384 -r 05ff6e27de45 src/hotspot/share/oops/method.cpp --- a/src/hotspot/share/oops/method.cpp Mon Aug 12 08:48:47 2019 +0200 +++ b/src/hotspot/share/oops/method.cpp Mon Aug 12 10:02:25 2019 +0200 @@ -828,11 +828,6 @@ clear_code(); } -address Method::critical_native_function() { - methodHandle mh(this); - return NativeLookup::lookup_critical_entry(mh); -} - void Method::set_signature_handler(address handler) { address* signature_handler = signature_handler_addr();