--- old/src/share/vm/oops/method.hpp 2017-06-01 17:27:42.984206320 +0200 +++ new/src/share/vm/oops/method.hpp 2017-06-01 17:27:42.902206427 +0200 @@ -571,7 +571,11 @@ Symbol* klass_name() const; // returns the name of the method holder BasicType result_type() const; // type of the method result bool is_returning_oop() const { BasicType r = result_type(); return (r == T_OBJECT || r == T_ARRAY); } + bool is_returning_vt() const { BasicType r = result_type(); return r == T_VALUETYPE; } bool is_returning_fp() const { BasicType r = result_type(); return (r == T_FLOAT || r == T_DOUBLE); } +#ifdef ASSERT + ValueKlass* returned_value_type(Thread* thread) const; +#endif // Checked exceptions thrown by this method (resolved to mirrors) objArrayHandle resolved_checked_exceptions(TRAPS) { return resolved_checked_exceptions_impl(this, THREAD); }