首页> 外文期刊>Journal of computer sciences >Abstract Interpretation of Java Bytecode for Immutability Analysis
【24h】

Abstract Interpretation of Java Bytecode for Immutability Analysis

机译:用于不变性分析的Java字节码的抽象解释

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

摘要

Even though immutability is a desirable property, especially in a multi-threaded environment, implementing immutable Java classes is surprisingly hard because of a lack of language support. We present a static analysis tool using abstract bytecode interpretation that checks Java classes for compliance with a set of rules that together constitute state-based immutability. Being realized as a Find Bugs plug in, the tool can easily be integrated into most IDEs and hence the software development process. Our evaluation on a large, real world codebase shows that the average runtime effort for a single class is in the range of a few milliseconds, with only a very few statistical spikes.
机译:尽管不可变性是理想的属性,尤其是在多线程环境中,但由于缺少语言支持,实现不可改变的Java类非常困难。我们提供了一种使用抽象字节码解释的静态分析工具,该工具检查Java类是否符合一组规则的合规性,这些规则共同构成了基于状态的不变性。该工具被实现为“查找错误”插件,可以轻松地集成到大多数IDE中,从而可以集成到软件开发过程中。我们在一个大型的,真实世界的代码库上的评估显示,单个类的平均运行时工作量在几毫秒的范围内,而统计峰值很少。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号