首页> 外文会议>FM 2008: Formal Methods >JML Runtime Assertion Checking: Improved Error Reporting and Efficiency Using Strong Validity
【24h】

JML Runtime Assertion Checking: Improved Error Reporting and Efficiency Using Strong Validity

机译:JML运行时断言检查:使用强大的有效性改进了错误报告并提高了效率

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

摘要

The Java Modeling Language (JML) recently switched to an assertion semantics based on "strong validity" in which an assertion is taken to be valid precisely when it is defined and true. Elsewhere we have shared our positive experiences with the realization and use of this new semantics in the context of ESC/Java2. In this paper, we describe the challenges faced by and the redesign required for the implementation of the new semantics in the JML Runtime Assertion Checker (RAC) compiler. Not only is the new semantics effective at helping developers identify formerly undetected errors in specifications, we also demonstrate how the realization of the new semantics is more efficient-resulting in more compact instrumented code that runs slightly faster. More importantly, under the new semantics, the JML RAC can now compile sizeable JML annotated Java programs (like ESC/Java2) which it was unable to compile before.
机译:Java建模语言(JML)最近切换到了基于“强有效性”的断言语义,其中断言在定义和正确时就被认为是有效的。在其他地方,我们分享了在ESC / Java2上下文中实现和使用这种新语义的积极经验。在本文中,我们描述了在JML Runtime Assertion Checker(RAC)编译器中实现新语义所面临的挑战和重新设计。新语义不仅可以有效地帮助开发人员识别规范中以前未检测到的错误,而且还演示了新语义的实现如何更高效-导致运行速度更快的更紧凑的检测代码。更重要的是,在新的语义下,JML RAC现在可以编译以前无法编译的,较大的带有JML注释的Java程序(例如ESC / Java2)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号