equal
deleted
inserted
replaced
401 // Which local variables are live at a specific bci? When debugging |
401 // Which local variables are live at a specific bci? When debugging |
402 // will return true for all locals in some cases to improve debug |
402 // will return true for all locals in some cases to improve debug |
403 // information. |
403 // information. |
404 MethodLivenessResult ciMethod::liveness_at_bci(int bci) { |
404 MethodLivenessResult ciMethod::liveness_at_bci(int bci) { |
405 MethodLivenessResult result = raw_liveness_at_bci(bci); |
405 MethodLivenessResult result = raw_liveness_at_bci(bci); |
406 if (CURRENT_ENV->should_retain_local_variables() || DeoptimizeALot || CompileTheWorld) { |
406 if (CURRENT_ENV->should_retain_local_variables() || DeoptimizeALot) { |
407 // Keep all locals live for the user's edification and amusement. |
407 // Keep all locals live for the user's edification and amusement. |
408 result.at_put_range(0, result.size(), true); |
408 result.at_put_range(0, result.size(), true); |
409 } |
409 } |
410 return result; |
410 return result; |
411 } |
411 } |
1208 |
1208 |
1209 // ------------------------------------------------------------------ |
1209 // ------------------------------------------------------------------ |
1210 // ciMethod::check_call |
1210 // ciMethod::check_call |
1211 bool ciMethod::check_call(int refinfo_index, bool is_static) const { |
1211 bool ciMethod::check_call(int refinfo_index, bool is_static) const { |
1212 // This method is used only in C2 from InlineTree::ok_to_inline, |
1212 // This method is used only in C2 from InlineTree::ok_to_inline, |
1213 // and is only used under -Xcomp or -XX:CompileTheWorld. |
1213 // and is only used under -Xcomp. |
1214 // It appears to fail when applied to an invokeinterface call site. |
1214 // It appears to fail when applied to an invokeinterface call site. |
1215 // FIXME: Remove this method and resolve_method_statically; refactor to use the other LinkResolver entry points. |
1215 // FIXME: Remove this method and resolve_method_statically; refactor to use the other LinkResolver entry points. |
1216 VM_ENTRY_MARK; |
1216 VM_ENTRY_MARK; |
1217 { |
1217 { |
1218 EXCEPTION_MARK; |
1218 EXCEPTION_MARK; |