diff src/share/vm/opto/graphKit.cpp @ 14477:96d2c94bbdd0

8035493: JVMTI PopFrame capability must instruct compilers not to prune locals Reviewed-by: kvn, sla, coleenp, sspitsyn
author mgronlun
date Sat, 22 Feb 2014 10:22:05 +0100
parents de6a9e811145
children bb9356ec5967
line wrap: on
line diff
--- a/src/share/vm/opto/graphKit.cpp	Thu Feb 20 16:38:45 2014 -0500
+++ b/src/share/vm/opto/graphKit.cpp	Sat Feb 22 10:22:05 2014 +0100
@@ -863,7 +863,7 @@
     }
   }
 
-  if (env()->jvmti_can_access_local_variables()) {
+  if (env()->should_retain_local_variables()) {
     // At any safepoint, this method can get breakpointed, which would
     // then require an immediate deoptimization.
     can_prune_locals = false;  // do not prune locals