diff -r 57ad70bcf06c -r 15936b142f86 src/hotspot/share/interpreter/abstractInterpreter.cpp --- a/src/hotspot/share/interpreter/abstractInterpreter.cpp Wed Nov 13 11:27:50 2019 +0000 +++ b/src/hotspot/share/interpreter/abstractInterpreter.cpp Wed Nov 13 08:23:23 2019 -0500 @@ -267,7 +267,8 @@ } assert(!invoke_bc.has_index_u4(code), "sanity"); int method_index = invoke_bc.get_index_u2_cpcache(code); - Method* resolved_method = ConstantPool::method_at_if_loaded(cpool, method_index); + constantPoolHandle cp(Thread::current(), cpool); + Method* resolved_method = ConstantPool::method_at_if_loaded(cp, method_index); return (resolved_method == NULL); } default: ShouldNotReachHere();