Mercurial > hg > truffle
comparison src/share/vm/runtime/safepoint.cpp @ 1905:ce6848d0666d
6968367: can_post_on_exceptions is still using VM_DeoptimizeFrame in some places
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Tue, 19 Oct 2010 16:14:34 -0700 |
parents | d5d065957597 |
children | f95d63e2154a |
comparison
equal
deleted
inserted
replaced
1902:0357ff4bd6b2 | 1905:ce6848d0666d |
---|---|
938 | 938 |
939 // If we have a pending async exception deoptimize the frame | 939 // If we have a pending async exception deoptimize the frame |
940 // as otherwise we may never deliver it. | 940 // as otherwise we may never deliver it. |
941 if (thread()->has_async_condition()) { | 941 if (thread()->has_async_condition()) { |
942 ThreadInVMfromJavaNoAsyncException __tiv(thread()); | 942 ThreadInVMfromJavaNoAsyncException __tiv(thread()); |
943 VM_DeoptimizeFrame deopt(thread(), caller_fr.id()); | 943 Deoptimization::deoptimize_frame(thread(), caller_fr.id()); |
944 VMThread::execute(&deopt); | |
945 } | 944 } |
946 | 945 |
947 // If an exception has been installed we must check for a pending deoptimization | 946 // If an exception has been installed we must check for a pending deoptimization |
948 // Deoptimize frame if exception has been thrown. | 947 // Deoptimize frame if exception has been thrown. |
949 | 948 |