Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/sharedRuntime.cpp @ 4665:f9811bcf3402
fixed fastdebug crash (deoptimization requires that no exception is pending)
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Tue, 21 Feb 2012 10:48:32 -0800 |
parents | 723df37192d6 |
children | 8021e46f4a99 |
line wrap: on
line diff
--- a/src/share/vm/runtime/sharedRuntime.cpp Tue Feb 21 16:35:42 2012 +0100 +++ b/src/share/vm/runtime/sharedRuntime.cpp Tue Feb 21 10:48:32 2012 -0800 @@ -718,6 +718,7 @@ nm->make_not_entrant(); JavaThread::current()->set_exception_pc(ret_pc); JavaThread::current()->set_exception_oop(exception()); + JavaThread::current()->clear_pending_exception(); return SharedRuntime::deopt_blob()->unpack_with_exception_in_tls(); #else assert(nm->unwind_handler_begin() != NULL, "");