< prev index next >

src/share/vm/oops/instanceKlass.cpp

Print this page

        

*** 2622,2632 **** } bool InstanceKlass::add_member_name(Handle mem_name) { jweak mem_name_wref = JNIHandles::make_weak_global(mem_name); MutexLocker ml(MemberNameTable_lock); ! DEBUG_ONLY(No_Safepoint_Verifier nsv); // Check if method has been redefined while taking out MemberNameTable_lock, if so // return false. We cannot cache obsolete methods. They will crash when the function // is called! Method* method = (Method*)java_lang_invoke_MemberName::vmtarget(mem_name()); --- 2622,2632 ---- } bool InstanceKlass::add_member_name(Handle mem_name) { jweak mem_name_wref = JNIHandles::make_weak_global(mem_name); MutexLocker ml(MemberNameTable_lock); ! DEBUG_ONLY(NoSafepointVerifier nsv); // Check if method has been redefined while taking out MemberNameTable_lock, if so // return false. We cannot cache obsolete methods. They will crash when the function // is called! Method* method = (Method*)java_lang_invoke_MemberName::vmtarget(mem_name());
< prev index next >