How Weak Reference is Used in Java']Java Projects?

被引:0
|
作者
Higo, Yoshiki [1 ]
Matsumoto, Shinsuke [1 ]
Kim, Taeyoung [1 ]
Kusumoto, Shinji [1 ]
机构
[1] Osaka Univ, Grad Sch Informat Sci & Technol, Suita, Osaka, Japan
关键词
Weak reference; Garbage collection; !text type='Java']Java[!/text; GitHub;
D O I
10.1109/APSEC51365.2020.00053
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many programming languages have a system of garbage collection to automate memory management. Problems such as unexpected memory leak still may occur due to the automation of memory management. Weak reference has been proposed as a solution to such problems. However, the use of weak reference often requires consideration of memory release timing, which is difficult for developers. In this study, we investigate the use of weak reference on open source projects. More concretely, we investigated the domain of software projects where the weak reference was used, the timing of the introduction of the weak reference, the usage method, the presence or absence of the test code for weak reference, and the case of failure to introduce weak reference in the Java language. The survey showed that weak references were used in 73 repositories, about one-third of the total 202 repositories, and that weak references were most common in test code.
引用
收藏
页码:445 / 449
页数:5
相关论文
共 50 条
  • [41] Multi-Paradigm Metric and its Applicability on JAVA']JAVA Projects
    Misra, Sanjay
    Cafer, Ferid
    Akman, Ibahim
    Fernandez-Sanz, Luis
    ACTA POLYTECHNICA HUNGARICA, 2013, 10 (03) : 203 - 220
  • [42] Analyzing Conflict Predictors in Open-Source Java']Java Projects
    Accioly, Paola
    Borba, Paulo
    Silva, Leuson
    Cavalcanti, Guilherme
    2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, : 576 - 586
  • [43] Alias analysis for Java']Java with reference-set representation
    Woo, J
    Woo, J
    Attali, I
    Caromel, D
    Gaudiot, JL
    Wendelborn, AL
    PROCEEDINGS OF THE EIGHTH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS, 2001, : 459 - 466
  • [44] A Java']Java reference model of Transacted Memory for smart cards
    Poll, E
    Hartel, P
    de Jong, E
    USENIX ASSOCIATION AND IFIP WG 8.8 (SMART CARDS) PROCEEDINGS OF CARDIS '02 FIFTH SMART CARD RESEARCH AND ADVANCED APPLICATION CONFERENCE, 2002, : 75 - 86
  • [45] How do Java']Java programs use inheritance? An empirical study of inheritance in Java']Java software
    Tempero, Ewan
    Noble, James
    Melton, Hayden
    ECOOP 2008 - OBJECT-ORIENTED PROGRAMMING, PROCEEDINGS, 2008, 5142 : 667 - +
  • [46] How to soup up Java']Java: Part II - Nine recipes for fast, easy Java']Java
    Wayner, P
    BYTE, 1998, 23 (05): : 76 - 80
  • [47] Towards a Survival Analysis of Database Framework Usage in Java']Java Projects
    Goeminne, Mathieu
    Mens, Tom
    2015 31ST INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME) PROCEEDINGS, 2015, : 551 - 555
  • [48] On the Diffuseness of Code Technical Debt in Java']Java Projects of the Apache Ecosystem
    Saarimaki, Nyyti
    Lenarduzzi, Valentina
    Taibi, Davide
    2019 IEEE/ACM INTERNATIONAL CONFERENCE ON TECHNICAL DEBT (TECHDEBT 2019), 2019, : 98 - 107
  • [49] Software Change Dynamics: Evidence from 35 Java']Java Projects
    Geipel, Markus M.
    Schweitzer, Frank
    7TH JOINT MEETING OF THE EUROPEAN SOFTWARE ENGINEERING CONFERENCE AND THE ACM SIGSOFT SYMPOSIUM ON THE FOUNDATIONS OF SOFTWARE ENGINEERING, 2009, : 269 - 272
  • [50] On the Nature of Code Cloning in Open-Source Java']Java Projects
    Golubev, Yaroslav
    Bryksin, Timofey
    2021 IEEE 15TH INTERNATIONAL WORKSHOP ON SOFTWARE CLONES, IWSC 2021, 2021, : 22 - 28