作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2009, Vol. 35 ›› Issue (8): 122-124. doi: 10.3969/j.issn.1000-3428.2009.08.041

• 软件技术与数据库 • 上一篇    下一篇

保证Java精确异常的指令调度技术

张 垚   

  1. (复旦大学并行处理研究所,上海 201203)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2009-04-20 发布日期:2009-04-20

Instruction Scheduling Technology for Java Precise Exception

ZHANG Yao   

  1. (Parallel Processing Institute, Fudan University, Shanghai 201203)
  • Received:1900-01-01 Revised:1900-01-01 Online:2009-04-20 Published:2009-04-20

摘要: Java语言的精确异常要求和Java程序中频繁出现的异常检测严重阻碍或限制了指令调度在Java本地代码编译中的应用,从而减少了代码的指令级并行度。提出的算法可以使指令调度打破Java精确异常要求,能最大程度地发挥作用,并在有效提高代码执行效率的同时确保精确异常要求在异常发生时不被破坏。实验结果证明该算法的有效性和正确性。

关键词: Java语言, 指令调度, 精确异常

Abstract: Many existing instruction scheduling algorithms are severely hindered or disabled by Java precise exception model and the frequent exception checks, which substantially reduce the amount of instruction level parallelism for compiled Java. This paper presents an algorithm which helps instruction scheduling break the precise exception constraints to achieve significant speedup while ensuring the precise exception constraints. The experimental results prove the usefulness and correctness of the proposed algorithm.

Key words: Java, instruction scheduling, precise exception

中图分类号: