8056154: JVM crash with EXCEPTION_ACCESS_VIOLATION when there are many threads running

Don't make compiled MH intrinsics not entrant when redefining classes

Reviewed-by: kvn, vlivanov
This commit is contained in:
Igor Veresov 2014-09-05 14:39:45 -07:00
parent 5db7b3a4e1
commit e285f3eadc
4 changed files with 11 additions and 2 deletions

View file

@ -595,6 +595,7 @@ void CompiledStaticCall::compute_entry(methodHandle m, StaticCallInfo& info) {
} else {
// Callee is interpreted code. In any case entering the interpreter
// puts a converter-frame on the stack to save arguments.
assert(!m->is_method_handle_intrinsic(), "Compiled code should never call interpreter MH intrinsics");
info._to_interpreter = true;
info._entry = m()->get_c2i_entry();
}