mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
Reviewed-by: kvn, twisti
This commit is contained in:
parent
1022ea2299
commit
1d8c677377
11 changed files with 35 additions and 18 deletions
|
@ -940,8 +940,7 @@ void ThreadSafepointState::handle_polling_page_exception() {
|
|||
// as otherwise we may never deliver it.
|
||||
if (thread()->has_async_condition()) {
|
||||
ThreadInVMfromJavaNoAsyncException __tiv(thread());
|
||||
VM_DeoptimizeFrame deopt(thread(), caller_fr.id());
|
||||
VMThread::execute(&deopt);
|
||||
Deoptimization::deoptimize_frame(thread(), caller_fr.id());
|
||||
}
|
||||
|
||||
// If an exception has been installed we must check for a pending deoptimization
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue