Mercurial > hg > truffle
comparison src/share/vm/prims/jvmtiEnvBase.cpp @ 5110:0ebca2e35ca5
more preparations for disabling runtime feedback selectively based on deoptimization history
author | Christian Haeubl <christian.haeubl@oracle.com> |
---|---|
date | Thu, 15 Mar 2012 15:31:34 -0700 |
parents | e6b1331a51d2 |
children | 957c266d8bc5 |
comparison
equal
deleted
inserted
replaced
5109:6766253384bf | 5110:0ebca2e35ca5 |
---|---|
1338 // If the frame is a compiled one, need to deoptimize it. | 1338 // If the frame is a compiled one, need to deoptimize it. |
1339 if (vf->is_compiled_frame()) { | 1339 if (vf->is_compiled_frame()) { |
1340 if (!vf->fr().can_be_deoptimized()) { | 1340 if (!vf->fr().can_be_deoptimized()) { |
1341 return JVMTI_ERROR_OPAQUE_FRAME; | 1341 return JVMTI_ERROR_OPAQUE_FRAME; |
1342 } | 1342 } |
1343 Deoptimization::deoptimize_frame(java_thread, jvf->fr().id()); | 1343 Deoptimization::deoptimize_frame(java_thread, jvf->fr().id(), Deoptimization::Reason_constraint); |
1344 } | 1344 } |
1345 | 1345 |
1346 // Get information about method return type | 1346 // Get information about method return type |
1347 Symbol* signature = jvf->method()->signature(); | 1347 Symbol* signature = jvf->method()->signature(); |
1348 | 1348 |