Relates :
|
We get an assertion failure in fastdebug builds: DEBUG MESSAGE: InterpreterMacroAssembler::call_VM_leaf_base: last_sp != NULL This is because TemplateInterpreterGenerator::generate_deopt_entry_for() is all messed up: it calls InterpreterRuntime::throw_pending_exception() before the interpreter state has been restored. The simple fix is to restore all of the interpreter state before calling throw_pending_exception().