diff src/share/vm/code/compiledIC.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 2c6ef90f030a
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/code/compiledIC.cpp	Wed Sep 03 15:26:06 2014 +0400
+++ b/src/share/vm/code/compiledIC.cpp	Fri Sep 05 14:39:45 2014 -0700
@@ -595,6 +595,7 @@
   } 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();
   }