首页> 外国专利> Method and apparatus for performing versioning for loop, method and apparatus for collecting array range check information in basic blocks, method for modifying array range check information, method for optimizing array range checks, method for generating codes for array range checks, method and apparatus for eliminating redundant array range checks, method for selecting array range checks, method for modifying array range checks, method for collecting array range checks, and method for determing handling of array range checks

Method and apparatus for performing versioning for loop, method and apparatus for collecting array range check information in basic blocks, method for modifying array range check information, method for optimizing array range checks, method for generating codes for array range checks, method and apparatus for eliminating redundant array range checks, method for selecting array range checks, method for modifying array range checks, method for collecting array range checks, and method for determing handling of array range checks

机译:用于执行版本控制的方法和装置,用于在基本块中收集阵列范围检查信息的方法和装置,用于修改阵列范围检查信息的方法,用于优化阵列范围检查的方法,用于生成用于阵列范围检查的代码的方法,用于消除多余的数组范围检查,选择数组范围检查的方法,修改数组范围检查的方法,收集数组范围检查的方法以及确定处理数组范围检查的方法

摘要

Java language is, as its specification, capable of detecting an access exceeding an array range, and when there is no user-defined exception handler, moving control to an invoked method after getting out of a method in which an exception occurred, or when there is a user-defined exception handler, moving the process to the exception handler. Accordingly, an array range check is essential since occurrence of an exception may be described as a correct operation. However, an array range check slows execution speed compared with a language which does not require it. In an actual program, there is an array access to ensure that there is no access exceeding a range, and thus elimination of such redundant range checks greatly contributes to improved performance, and in addition, brings about an effect of expanding the range of optimization from the viewpoint of ensuring order of execution between occurrence of an exception and a process with a side effect such as an assignment of a value to an array.
机译:作为其规范,Java语言能够检测到超出数组范围的访问,并且当没有用户定义的异常处理程序时,将控制移出发生异常的方法之后或发生异常时将控制权移至调用的方法是用户定义的异常处理程序,将流程移至异常处理程序。因此,阵列范围检查是必不可少的,因为可以将异常的发生描述为正确的操作。但是,与不需要范围检查的语言相比,数组范围检查会降低执行速度。在实际程序中,存在数组访问权限以确保没有超出范围的访问权限,因此消除这种冗余范围检查将大大有助于提高性能,此外,还具有扩大优化范围的作用。从确保在异常发生和具有副作用(例如将值分配给数组)的过程之间执行的顺序的观点出发。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号