diff -r 506bd2e1f840 -r 2c3cc4b01880 src/hotspot/share/oops/method.hpp --- a/src/hotspot/share/oops/method.hpp Tue Oct 29 14:29:40 2019 +0100 +++ b/src/hotspot/share/oops/method.hpp Wed Oct 30 16:14:56 2019 +0100 @@ -608,7 +608,7 @@ void compute_size_of_parameters(Thread *thread); // word size of parameters (receiver if any + arguments) Symbol* klass_name() const; // returns the name of the method holder - BasicType result_type() const; // type of the method result + BasicType result_type() const { return constMethod()->result_type(); } bool is_returning_oop() const { BasicType r = result_type(); return is_reference_type(r); } bool is_returning_fp() const { BasicType r = result_type(); return (r == T_FLOAT || r == T_DOUBLE); }