发明名称 Method and apparatus for eliminating redundant array range checks in a compiler
摘要 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.
申请公布号 US6519765(B1) 申请公布日期 2003.02.11
申请号 US19990350242 申请日期 1999.07.09
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 KAWAHITO MOTOHIRO;YASUE TOSHIAKI;KOMATSU HIDEAKI
分类号 G06F9/44;G06F9/45;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址