Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/safepoint.cpp @ 13188:6b2d8d20ecbd
deoptimization: add helper to minimize hsx diff #resolve GRAAL-531
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Thu, 28 Nov 2013 14:12:31 +0100 |
parents | cefad50507d8 |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
13187:b199147f187e | 13188:6b2d8d20ecbd |
---|---|
1079 | 1079 |
1080 // If we have a pending async exception deoptimize the frame | 1080 // If we have a pending async exception deoptimize the frame |
1081 // as otherwise we may never deliver it. | 1081 // as otherwise we may never deliver it. |
1082 if (thread()->has_async_condition()) { | 1082 if (thread()->has_async_condition()) { |
1083 ThreadInVMfromJavaNoAsyncException __tiv(thread()); | 1083 ThreadInVMfromJavaNoAsyncException __tiv(thread()); |
1084 Deoptimization::deoptimize_frame(thread(), caller_fr.id(), Deoptimization::Reason_constraint); | 1084 Deoptimization::deoptimize_frame(thread(), caller_fr.id()); |
1085 } | 1085 } |
1086 | 1086 |
1087 // If an exception has been installed we must check for a pending deoptimization | 1087 // If an exception has been installed we must check for a pending deoptimization |
1088 // Deoptimize frame if exception has been thrown. | 1088 // Deoptimize frame if exception has been thrown. |
1089 | 1089 |