hotspot/src/share/vm/ci/ciMethod.cpp
changeset 22893 e3a2b513713a
parent 22243 91944eab7b92
child 23194 e60d7409415b
equal deleted inserted replaced
22892:1709e0e0b87c 22893:e3a2b513713a
   410 // Which local variables are live at a specific bci?  When debugging
   410 // Which local variables are live at a specific bci?  When debugging
   411 // will return true for all locals in some cases to improve debug
   411 // will return true for all locals in some cases to improve debug
   412 // information.
   412 // information.
   413 MethodLivenessResult ciMethod::liveness_at_bci(int bci) {
   413 MethodLivenessResult ciMethod::liveness_at_bci(int bci) {
   414   MethodLivenessResult result = raw_liveness_at_bci(bci);
   414   MethodLivenessResult result = raw_liveness_at_bci(bci);
   415   if (CURRENT_ENV->jvmti_can_access_local_variables() || DeoptimizeALot || CompileTheWorld) {
   415   if (CURRENT_ENV->should_retain_local_variables() || DeoptimizeALot || CompileTheWorld) {
   416     // Keep all locals live for the user's edification and amusement.
   416     // Keep all locals live for the user's edification and amusement.
   417     result.at_put_range(0, result.size(), true);
   417     result.at_put_range(0, result.size(), true);
   418   }
   418   }
   419   return result;
   419   return result;
   420 }
   420 }