首页> 外文期刊>Computer languages >Extending object-oriented languages with backward error recovery integrated support
【24h】

Extending object-oriented languages with backward error recovery integrated support

机译:通过向后错误恢复集成支持来扩展面向对象的语言

获取原文
获取原文并翻译 | 示例
           

摘要

One of the requirements of software robustness is controlling and managing runtime errors that might arise at certain points of application execution. In most object-oriented programming languages, this requirement is commonly implemented by means of exception handling. Although exception handling is a powerful tool to avoid system failure arising, there are still many situations where it is not sufficient to restore the system to a consistent state. Exception handling allows the developer to detect and locate errors, but it gives no information or tools to cover the error recovering task. Therefore, we propose an extension of the semantics of common object-oriented languages to restore the previous consistent state of the system in the presence of runtime errors, avoiding some of the tasks that exception-handling mechanisms delegate to developers. Our proposed solution is centered in the concept of "reconstructor", a declarative component oriented to automatically return the system to its last stable state. Based on this concept, we develop a non-intrusive code enrichment tool for Java, and we apply it to a real application in order to check the feasibility of the proposal. We evaluated the performance of the resulting code, obtaining reasonable and viable rates and overload.
机译:软件健壮性的要求之一是控制和管理在应用程序执行的某些点可能出现的运行时错误。在大多数面向对象的编程语言中,通常通过异常处理来实现此要求。尽管异常处理是避免系统故障发生的强大工具,但是在许多情况下,将系统还原到一致状态还不够。异常处理使开发人员可以检测和定位错误,但是它不提供任何信息或工具来覆盖错误恢复任务。因此,我们提出了一种通用的面向对象语言的语义扩展,以在存在运行时错误的情况下恢复系统以前的一致状态,从而避免了异常处理机制委托给开发人员的某些任务。我们提出的解决方案以“ reconstructor”的概念为中心,“ reconstructor”是一种声明性组件,旨在自动将系统返回到其最后的稳定状态。基于此概念,我们开发了一种用于Java的非侵入式代码丰富工具,并将其应用于实际应用程序中以检查该建议的可行性。我们评估了所得代码的性能,获得了合理可行的比率和重载。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号