src/hotspot/share/interpreter/abstractInterpreter.cpp
changeset 59056 15936b142f86
parent 58096 0d97bf7cf8a4
child 59165 2c55c2fc08f5
equal deleted inserted replaced
59055:57ad70bcf06c 59056:15936b142f86
   265         if (cpool->has_preresolution()) {
   265         if (cpool->has_preresolution()) {
   266           return false; // might have been reached
   266           return false; // might have been reached
   267         }
   267         }
   268         assert(!invoke_bc.has_index_u4(code), "sanity");
   268         assert(!invoke_bc.has_index_u4(code), "sanity");
   269         int method_index = invoke_bc.get_index_u2_cpcache(code);
   269         int method_index = invoke_bc.get_index_u2_cpcache(code);
   270         Method* resolved_method = ConstantPool::method_at_if_loaded(cpool, method_index);
   270         constantPoolHandle cp(Thread::current(), cpool);
       
   271         Method* resolved_method = ConstantPool::method_at_if_loaded(cp, method_index);
   271         return (resolved_method == NULL);
   272         return (resolved_method == NULL);
   272       }
   273       }
   273       default: ShouldNotReachHere();
   274       default: ShouldNotReachHere();
   274     }
   275     }
   275   } else if (!Bytecodes::must_rewrite(code)) {
   276   } else if (!Bytecodes::must_rewrite(code)) {