8182755: [JVMCI] Deoptimization in synchronized methods can lead to a crash or exception when using EnableJVMCI but not UseJVMCICompiler
Reviewed-by: kvn, thartmann
thartmann [Fri, 10 Nov 2017 13:10:54 +0100] rev 47822
8190797: OSR compilation fails with "assert(__the_thread__->can_call_java()) failed: can not load classes with compiler thread"
Summary: Bail out with a meaningful error message in case we cannot throw a Java exception.
Reviewed-by: kvn, dholmes