【24h】

Mostly-Functional Behavior in Java Programs

机译:Java程序中的主要功能行为

获取原文

摘要

We present a lightweight type-and-effect system for Java pro-grams that features two major innovations over extant object-orientedeffects systems: initialization effects, which are writes to an object's statewhile it is being constructed, and quiescing fields, which are fields thatare never written after an object is constructed. We also present a noveltaxonomy of degrees of method purity in object-oriented programs, whichcharacterizes methods whose effects are confined to their receiver object.Finally, we find significant amounts of mostly-functional behavior in re-alistic Java programs: in the benchmarks we analyzed, between 48-53%of declared fields were identifiable as quiescing and between 24-78% ofdynamic field reads were from quiescing fields.
机译:我们为Java Pro-gram提供了一种轻量级类型和效果系统,它具有extant object overedeDfects系统的两个主要创新:初始化效果,它是对对象的立式作品,它正在构造的,Quescing字段是那个字段在构建对象后从未写过。我们还在面向对象的程序中提出了一种Noveltogy的方法纯度,这是哪种特征的方法,其效果被限制在其接收者对象中。最后,我们在重新实现的Java程序中发现了大量的多功能行为:在我们分析的基准中,48-53%的声明字段之间是可识别的,因为静态,ofdynamic字段读数来自quiescing字段。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号