diff -r 506bd2e1f840 -r 2c3cc4b01880 src/hotspot/share/oops/method.cpp --- a/src/hotspot/share/oops/method.cpp Tue Oct 29 14:29:40 2019 +0100 +++ b/src/hotspot/share/oops/method.cpp Wed Oct 30 16:14:56 2019 +0100 @@ -572,24 +572,16 @@ return extra_stack_entries() * Interpreter::stackElementSize; } - void Method::compute_size_of_parameters(Thread *thread) { ArgumentSizeComputer asc(signature()); set_size_of_parameters(asc.size() + (is_static() ? 0 : 1)); } -BasicType Method::result_type() const { - ResultTypeFinder rtf(signature()); - return rtf.type(); -} - - bool Method::is_empty_method() const { return code_size() == 1 && *code_base() == Bytecodes::_return; } - bool Method::is_vanilla_constructor() const { // Returns true if this method is a vanilla constructor, i.e. an "" "()V" method // which only calls the superclass vanilla constructor and possibly does stores of