首页> 外文期刊>The Journal of Systems and Software >A large-scale study on the usage of Java's concurrent programming constructs
【24h】

A large-scale study on the usage of Java's concurrent programming constructs

机译:关于Java并发编程结构用法的大规模研究

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

摘要

In both academia and industry, there is a strong belief that multicore technology will radically change the way software is built. However, little is known about the current state of use of concurrent programming constructs. In this work we present an empirical work aimed at studying the usage of concurrent programming constructs of 2227 real world, stable and mature Java projects from SourceForge. We have studied the usage of concurrent techniques in the most recent versions of these applications and also how usage has evolved along time. The main findings of our study are: (Ⅰ) More than 75% of the latest versions of the projects either explicitly create threads or employ some concurrency control mechanism. (Ⅱ) More than half of these projects exhibit at least 47 synchronized methods and 3 implementations of the Runnabie interface per 100,000 LoC, which means that not only concurrent programming constructs are used often but they are also employed intensively. (Ⅲ) The adoption of the java.util. concurrent library is only moderate (approximately 23% of the concurrent projects employ it). (Ⅳ) Efficient and thread-safe data structures, such as ConcurrentHashMap, are not yet widely used, despite the fact that they present numerous advantages.
机译:在学术界和工业界,人们都坚信多核技术将从根本上改变软件的构建方式。但是,对并发编程构造的当前使用状态知之甚少。在这项工作中,我们提出了一项经验性工作,旨在研究SourceForge的2227个真实世界中稳定而成熟的Java项目的并发编程构造的用法。我们已经研究了这些应用程序的最新版本中并发技术的使用情况,以及使用情况如何随时间演变。我们研究的主要发现是:(Ⅰ)超过75%的最新版本的项目要么显式创建线程,要么采用某种并发控制机制。 (Ⅱ)这些项目中超过一半的项目每100,000个LoC至少显示47个同步方法和Runnabie接口的3个实现,这意味着不仅经常使用并发编程结构,而且还大量使用它们。 (Ⅲ)通过java.util。并发库只是中等程度的(大约23%的并发项目使用它)。 (Ⅳ)高效,线程安全的数据结构,例如ConcurrentHashMap,尽管具有许多优点,但尚未得到广泛使用。

著录项

  • 来源
    《The Journal of Systems and Software》 |2015年第8期|59-81|共23页
  • 作者单位

    Informatics Center, Federal University of Pernambuco (Cln-UFPE), Av. Jornalista Anibal Fernandes, S/N, Recife-PE 50.740-560, Brazil;

    Informatics Center, Federal University of Pernambuco (Cln-UFPE), Av. Jornalista Anibal Fernandes, S/N, Recife-PE 50.740-560, Brazil;

    Informatics Center, Federal University of Pernambuco (Cln-UFPE), Av. Jornalista Anibal Fernandes, S/N, Recife-PE 50.740-560, Brazil;

    Informatics Center, Federal University of Pernambuco (Cln-UFPE), Av. Jornalista Anibal Fernandes, S/N, Recife-PE 50.740-560, Brazil;

    Informatics Center, Federal University of Pernambuco (Cln-UFPE), Av. Jornalista Anibal Fernandes, S/N, Recife-PE 50.740-560, Brazil;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

    Java; Concurrency; Software evolution;

    机译:Java;并发软件演进;

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号