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 条
  • [21] Identification of Requirements of Software Reengineering for JAVA']JAVA Projects
    Singh, Jaswinder
    Gupta, Ashu
    Singh, Jaiteg
    2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTING, COMMUNICATION AND AUTOMATION (ICCCA), 2017, : 931 - 934
  • [22] Java']Java 2: The complete reference.
    Ziener, C
    LIBRARY JOURNAL, 2001, 126 (06) : 124 - 124
  • [23] Java']Java quick reference - Afergan,M
    Copler, JA
    ONLINE, 1997, 21 (01): : 83 - 83
  • [24] Build System with Lazy Retrieval for Java']Java Projects
    Celik, Ahmet
    Knaust, Alex
    Milicevic, Aleksandar
    Gligoric, Milos
    FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 643 - 654
  • [25] The Eclipse Java']Java Metamodel Scaffolding Software Engineering Research on Java']Java Projects with MDE Techniques
    Coimbra, Pedro Janeiro
    Brito e Abreu, Fernando
    PROCEEDINGS OF THE 2014 2ND INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT (MODELSWARD 2014), 2014, : 392 - 399
  • [26] How to program with Java']Java: Vocabulary
    Gage, JS
    M D COMPUTING, 1998, 15 (04): : 217 - 219
  • [27] Weak Fairness Semantic Drawbacks in Java']Java Multithreading
    Kaiser, Claude
    Pradat-Peyre, Jean-Francois
    RELIABLE SOFTWARE TECHNOLOGIES - ADA-EUROPE 2009, 2009, 5570 : 90 - +
  • [28] A Study on Inappropriately Partitioned Commits - How Much and What Kinds of IP Commits in Java']Java Projects?
    Arima, Ryo
    Higo, Yoshiki
    Kusumoto, Shinji
    2018 IEEE/ACM 15TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR), 2018, : 336 - 340
  • [29] How README files are structured in open source Java projects
    Liu, Yuyang
    Noei, Ehsan
    Lyons, Kelly
    Information and Software Technology, 2022, 148
  • [30] On Understanding the Release Patterns of Open Source Java']Java Projects
    Kaur, Arvinder
    Vig, Vidhi
    COMPUTATIONAL INTELLIGENCE IN DATA MINING, 2019, 711 : 9 - 18