• Home
  • Search
  • Analysis and Optimizations of Java Full Garbage Collection
  • Cite Icon7
  • https://doi.org/10.1145/3265723.3265735Copy DOI Icon

Analysis and Optimizations of Java Full Garbage Collection

  • Aug 27, 2018
  • Haoyu Li +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Java runtime frees applications from manual memory management by its automatic garbage collection (GC), at the cost of stop-the-world pauses. State-of-the-art collectors leverage multiple generations, which will inevitably suffer from a full GC phase scanning the whole heap and induce a pause tens of times longer than normal collections, which largely affects both throughput and latency of the entire system. In this paper, we analyze the full GC performance of HotSpot Parallel Scavenge garbage collector comprehensively and study its algorithm design in depth. We find out that heavy dependencies among heap regions cause poor thread utilization. Furthermore, many heap regions contain mostly live objects (referred to as dense regions), which are unnecessary to collect. To solve these problems, we introduce two kinds of optimizations: allocating shadow regions dynamically as compaction destination to eliminate region dependencies and skipping dense regions to reduce GC workload. Evaluation results show the optimizations lead to averagely 2.6X (up to 4.5X) improvement in full GC throughput and thereby boost the application performance by 18.2% on average (58.4% at best).

Similar Papers
  • Conference Article
  • Citations35

The CLOSER

  • Jun 07, 2008
  • Isil Dillig +3
  • Conference Article
  • Citations2

Research and analysis of garbage collection mechanism for real-time embedded Java

  • May 26, 2004
  • Liu Wei +2
  • Conference Article
  • Citations11

Garbage collection in the next C++ standard

  • Jun 19, 2009
  • Hans-J Boehm +1
  • Conference Article
  • Citations14

Scalable hardware-algorithm for mark-sweep garbage collection

  • Sep 05, 2000
  • W Srisa-An +2
  • Conference Article
  • Citations34

Secure, Real-Time and Multi-Threaded General-Purpose Embedded Java Microarchitecture

  • Aug 29, 2007
  • Martin Zabel +3
  • PDF
  • Research Article
  • Citations4

A Scalable Algorithm for Decentralized Actor Termination Detection

  • Mar 11, 2022
  • Logical Methods in Computer Science
  • Dan Plyukhin +1
  • Conference Article
  • Citations2

Optimized strings for the Java HotSpot™ virtual machine

  • Sep 09, 2008
  • Christian Häubl +2
  • Preprint Article

Rust Ownership by Example

  • Jan 27, 2020
  • Front Matter
  • Richard L Apodaca
  • Conference Article
  • Citations59

Error-free garbage collection traces

  • Jun 01, 2002
  • Matthew Hertz +4
  • Research Article
  • Citations9

Error-free garbage collection traces

  • Jun 01, 2002
  • ACM SIGMETRICS Performance Evaluation Review
  • Matthew Hertz +4
  • Research Article
  • Citations28

RUMA has it

  • Jun 01, 2016
  • Proceedings of the VLDB Endowment
  • Felix Martin Schuhknecht +2
  • Conference Article
  • Citations2

Garbage collection software integrated with the system swapper in a virtual memory system

  • May 17, 1993
  • J.D Katzberg +1
  • Research Article
  • Citations68

A Deep Learning-Based Intelligent Garbage Detection System Using an Unmanned Aerial Vehicle

  • May 08, 2022
  • Symmetry
  • Vishal Verma +8
  • Conference Article
  • Citations15

Design by Contract: Making Object-Oriented Programs that Work

  • Nov 24, 1997
  • B Meyer
  • Research Article
  • Citations7

High-level dynamic memory management for object-oriented real-time systems

  • Jan 01, 1996
  • ACM SIGPLAN OOPS Messenger
  • Kelvin Nilsen
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.