hotspot/src/share/vm/opto/graphKit.cpp
changeset 22893 e3a2b513713a
parent 22234 da823d78ad65
child 22894 870fbe165d06
equal deleted inserted replaced
22892:1709e0e0b87c 22893:e3a2b513713a
   861       can_prune_locals = true;
   861       can_prune_locals = true;
   862       stack_slots_not_pruned = inputs;
   862       stack_slots_not_pruned = inputs;
   863     }
   863     }
   864   }
   864   }
   865 
   865 
   866   if (env()->jvmti_can_access_local_variables()) {
   866   if (env()->should_retain_local_variables()) {
   867     // At any safepoint, this method can get breakpointed, which would
   867     // At any safepoint, this method can get breakpointed, which would
   868     // then require an immediate deoptimization.
   868     // then require an immediate deoptimization.
   869     can_prune_locals = false;  // do not prune locals
   869     can_prune_locals = false;  // do not prune locals
   870     stack_slots_not_pruned = 0;
   870     stack_slots_not_pruned = 0;
   871   }
   871   }