首页> 外文期刊>Science of Computer Programming >Optimizing generated aspect-oriented assertion checking code for JML using program transformations: An empirical study
【24h】

Optimizing generated aspect-oriented assertion checking code for JML using program transformations: An empirical study

机译:使用程序转换为JML优化生成的面向方面的断言检查代码:一项实证研究

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

摘要

The AspectJ JML compiler (ajmlc) explores aspect-oriented programming (AOP) mechanisms to implement JML specifications, such as pre- and postconditions, and enforce them during runtime. This compiler was created to improve source-code modularity. Some experiments were conducted to evaluate the performance of the code generated through ajmlc. Results demonstrated that the strategy of adopting AOP to implement JML specifications is very promising. However, there is still a need for optimization of the generated code's bytecode size and running time. This paper presents a catalog of transformations which represent the optimizations implemented in the new optimized version of the ajmlc compiler. We employ such transformations to reduce the bytecode size and running time of the code generated through the ajmlc compiler. Aiming at demonstrating the impact of such transformation on the code quality, we conduct an empirical study using four applications in optimized and non-optimized versions generated by ajmlc. We show that our AOP transformations provide a significant improvement, regarding bytecode size and running time.
机译:AspectJ JML编译器(ajmlc)探索了面向方面的编程(AOP)机制,以实现JML规范,例如前置条件和后置条件,并在运行时执行它们。创建该编译器是为了改善源代码的模块化。进行了一些实验,以评估通过ajmlc生成的代码的性能。结果表明,采用AOP实施JML规范的策略非常有前途。但是,仍然需要优化所生成代码的字节码大小和运行时间。本文介绍了一个转换目录,这些转换代表了在ajmlc编译器的新优化版本中实现的优化。我们采用这种转换来减少通过ajmlc编译器生成的代码的字节码大小和运行时间。为了证明这种转换对代码质量的影响,我们使用ajmlc生成的优化和未优化版本中的四个应用程序进行了实证研究。我们表明,在字节码大小和运行时间方面,我们的AOP转换提供了显着的改进。

著录项

  • 来源
    《Science of Computer Programming》 |2013年第8期|1137-1156|共20页
  • 作者单位

    Informatics Center, Federal University of Pemambuco, Caixa Postal 7851, 50740-540, Recife, PE, Brazil;

    Informatics Center, Federal University of Pemambuco, Caixa Postal 7851, 50740-540, Recife, PE, Brazil;

    Department of Electrical Engineering and Computer Science, University of Central Florida, 4000 Central Florida Blvd., Orlando, FL, 32816, USA;

    Informatics Center, Federal University of Pemambuco, Caixa Postal 7851, 50740-540, Recife, PE, Brazil;

    Informatics Center, Federal University of Pemambuco, Caixa Postal 7851, 50740-540, Recife, PE, Brazil;

    Informatics Center, Federal University of Pemambuco, Caixa Postal 7851, 50740-540, Recife, PE, Brazil;

  • 收录信息 美国《科学引文索引》(SCI);美国《工程索引》(EI);
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Aspect-oriented programming; Program transformation; JML;

    机译:面向方面的编程;程序转换;JML;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号