< prev index next >

src/hotspot/share/oops/method.cpp

Print this page

        

*** 503,513 **** BasicType Method::result_type() const { ResultTypeFinder rtf(signature()); return rtf.type(); } - #ifdef ASSERT // ValueKlass the method is declared to return. This must not // safepoint as it is called with references live on the stack at // locations the GC is unaware of. ValueKlass* Method::returned_value_type(Thread* thread) const { SignatureStream ss(signature()); --- 503,512 ----
*** 522,532 **** k = ss.as_klass(class_loader, protection_domain, SignatureStream::ReturnNull, thread); } assert(k != NULL && !thread->has_pending_exception(), "can't resolve klass"); return ValueKlass::cast(k); } - #endif bool Method::is_empty_method() const { return code_size() == 1 && *code_base() == Bytecodes::_return; } --- 521,530 ----
< prev index next >