comparison src/share/vm/classfile/systemDictionary.cpp @ 20432:aff6ccb506cb

8056154: JVM crash with EXCEPTION_ACCESS_VIOLATION when there are many threads running Summary: Don't make compiled MH intrinsics not entrant when redefining classes Reviewed-by: kvn, vlivanov
author iveresov
date Fri, 05 Sep 2014 14:39:45 -0700
parents bb239308be67
children 0d78074d2444
comparison
equal deleted inserted replaced
20428:4d8781a35525 20432:aff6ccb506cb
2289 spe->set_method(m()); 2289 spe->set_method(m());
2290 } 2290 }
2291 } 2291 }
2292 2292
2293 assert(spe != NULL && spe->method() != NULL, ""); 2293 assert(spe != NULL && spe->method() != NULL, "");
2294 assert(!UseCompiler || (spe->method()->has_compiled_code() &&
2295 spe->method()->code()->entry_point() == spe->method()->from_compiled_entry()),
2296 "MH intrinsic invariant");
2294 return spe->method(); 2297 return spe->method();
2295 } 2298 }
2296 2299
2297 // Helper for unpacking the return value from linkMethod and linkCallSite. 2300 // Helper for unpacking the return value from linkMethod and linkCallSite.
2298 static methodHandle unpack_method_and_appendix(Handle mname, 2301 static methodHandle unpack_method_and_appendix(Handle mname,