Computer Engineering and Applications ›› 2008, Vol. 44 ›› Issue (34): 84-86.DOI: 10.3778/j.issn.1002-8331.2008.34.025

• 研发、设计、测试 • Previous Articles     Next Articles

Real-time extension for exception handling mechanism in JVM

WANG Xin-yu,XU Wen-bo,CHAI Zhi-lei   

  1. College of Information,Jiangnan University,Wuxi,Jiangsu 214122,China
  • Received:2007-12-18 Revised:2008-03-07 Online:2008-12-01 Published:2008-12-01
  • Contact: WANG Xin-yu

Java虚拟机中异常机制实时性的研究及实现

王新雨,须文波,柴志雷   

  1. 江南大学 信息学院,江苏 无锡 214122
  • 通讯作者: 王新雨

Abstract: Exception handling is an important feature of modern programming languages.This paper introduces a method to enhance the real-time performance of the exception-handling in the JVM.This method is implemented through modifying the famous open-source JVM,SableVM under the Linux OS.The result shows that after enhancement,the Java Virtual Machine not only improves the efficiency of catching exception object when exception happened,but also makes the seeking time linear.

Key words: Java Virtual Machine(JVM), real-time, exception handling

摘要: 异常处理机制是程序设计语言的重要特征之一。讨论了对Java异常处理进行实时性改造的可行性和具体方法,并且在Linux平台上,实现了对开源Java虚拟机SableVM中异常处理机制的实时性改造。实验结果表明改进后的虚拟机在异常捕获时间趋于线性的同时,异常表查询效率也得到了提高。

关键词: Java虚拟机, 实时性, 异常处理