hotspot/src/share/vm/ci/ciMethod.cpp
changeset 22893 e3a2b513713a
parent 22243 91944eab7b92
child 23194 e60d7409415b
--- a/hotspot/src/share/vm/ci/ciMethod.cpp	Thu Feb 20 16:38:45 2014 -0500
+++ b/hotspot/src/share/vm/ci/ciMethod.cpp	Sat Feb 22 10:22:05 2014 +0100
@@ -412,7 +412,7 @@
 // information.
 MethodLivenessResult ciMethod::liveness_at_bci(int bci) {
   MethodLivenessResult result = raw_liveness_at_bci(bci);
-  if (CURRENT_ENV->jvmti_can_access_local_variables() || DeoptimizeALot || CompileTheWorld) {
+  if (CURRENT_ENV->should_retain_local_variables() || DeoptimizeALot || CompileTheWorld) {
     // Keep all locals live for the user's edification and amusement.
     result.at_put_range(0, result.size(), true);
   }