A generational on-the-fly garbage collector for Java']Java

被引:0
作者
Domani, T [1 ]
Kolodner, EK [1 ]
Petrank, E [1 ]
机构
[1] Technion Israel Inst Technol, Dept Comp Sci, IL-32000 Haifa, Israel
关键词
programming languages; memory management; garbage collection; generational garbage collection;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
An on-the-fly garbage collector does not stop the program threads to perform the collection. Instead, the collector executes in a separate thread (or process) in parallel to the program. On-the-fly collectors are useful for multi-threaded applications running on multiprocessor servers, where it is important to fully utilize all processors and provide even response time, especially for systems for which stopping the threads is a costly operation. In this work, we report on the incorporation of generations into an on-the-fly garbage collector. The incorporation is non-trivial since an on-the-fly collector avoids explicit synchronization with the program threads. To the best of our knowledge, such an incorporation has not been tried before. We have implemented the collector for a prototype Java Virtual Machine on AIX, and measured its performance on a 4-way multiprocessor. As for other generational collectors, an on-the-fly generational collector has the potential for reducing the overall running time and working set of an application by concentrating collection efforts on the young objects. However, in contrast to other generational collectors, on-the-fly collectors do not move the objects; thus, there is no segregation between the old and the young objects. Furthermore, on-the-fly collectors do not stop the threads, so there is no extra benefit for the short pauses obtained by generational collection. Nevertheless, comparing our on-the-fly collector with and without generations, it turns out that the generational collector performs better for most applications. The best reduction in overall running time for the benchmarks we measured was 25%. However, there were some benchmarks for which it had no effect and one for which the overall running time increased by 4%.
引用
收藏
页码:274 / 284
页数:11
相关论文
共 50 条
  • [11] Active memory processor: A hardware garbage collector for real-time Java']Java embedded devices
    Srisa-an, W
    Lo, CTD
    Chang, JEM
    [J]. IEEE TRANSACTIONS ON MOBILE COMPUTING, 2003, 2 (02) : 89 - 101
  • [12] Design and analysis of a hard real-time garbage collector for a Java']Java chip multi-processor
    Puffitsch, Wolfgang
    [J]. CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2013, 25 (16) : 2269 - 2289
  • [13] A Verified Generational Garbage Collector for CakeML
    Ericsson, Adam Sandberg
    Myreen, Magnus O.
    Pohjola, Johannes Aman
    [J]. JOURNAL OF AUTOMATED REASONING, 2019, 63 (02) : 463 - 488
  • [14] A Verified Generational Garbage Collector for CakeML
    Adam Sandberg Ericsson
    Magnus O. Myreen
    Johannes Åman Pohjola
    [J]. Journal of Automated Reasoning, 2019, 63 : 463 - 488
  • [15] Evaluating HTM for pauseless garbage collectors in Java']Java
    Carpen-Amarie, Maria
    Dice, Dave
    Marlier, Patrick
    Thomas, Gael
    Felber, Pascal
    [J]. 2015 IEEE TRUSTCOM/BIGDATASE/ISPA, VOL 3, 2015, : 1 - 8
  • [16] Comparison of Garbage Collectors in Java']Java Programming Language
    Grgic, H.
    Mihaljevic, B.
    Radovan, A.
    [J]. 2018 41ST INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO), 2018, : 1539 - 1544
  • [17] Analysis and Optimizations of Java']Java Full Garbage Collection
    Li, Haoyu
    Wu, Mingyu
    Chen, Haibo
    [J]. 9TH ASIA-PACIFIC SYSTEMS WORKSHOP 2018 (APSYS'18), 2018,
  • [18] Creating and preserving locality of Java']Java applications at allocation and garbage collection times
    Shuf, Y
    Gupta, M
    Franke, H
    Appel, A
    Singh, JP
    [J]. ACM SIGPLAN NOTICES, 2002, 37 (11) : 13 - 25
  • [19] ON-THE-FLY GARBAGE COLLECTION FOR SEVERAL MUTATORS
    JONKER, JE
    [J]. DISTRIBUTED COMPUTING, 1992, 5 (04) : 187 - 199
  • [20] Analysis of Garbage Collection Algorithms and Memory Management in Java']Java
    Pufek, P.
    Grgic, H.
    Mihaljevic, B.
    [J]. 2019 42ND INTERNATIONAL CONVENTION ON INFORMATION AND COMMUNICATION TECHNOLOGY, ELECTRONICS AND MICROELECTRONICS (MIPRO), 2019, : 1677 - 1682