Evaluating HTM for pauseless garbage collectors in Java - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2015

Evaluating HTM for pauseless garbage collectors in Java

Résumé

While garbage collectors (GCs) significantly simplify programmers' tasks by transparently handling memory management, they also introduce various overheads and sources of unpredictability. Most importantly, GCs typically block the application while reclaiming free memory, which makes them unfit for environments where responsiveness is crucial, such as real-time systems. There have been several approaches for developing concurrent GCs that can exploit the processing capabilities of multi-core architectures, but at the expense of a synchronization overhead between the application and the collector. In this paper, we investigate a novel approach to implementing pauseless moving garbage collection using hardware transactional memory (HTM). We describe the design of a moving GC algorithm that can operate concurrently with the application threads. We study the overheads resulting from using transactional barriers in the Java virtual machine (JVM) and discuss various optimizations. Our findings show that, while the cost of these barriers can be minimized by carefully restricting them to volatile accesses when executing within the interpreter, the actual performance degradation becomes unacceptably high with the just-in-time compiler. The results tend to indicate that current HTM mechanisms cannot be readily used to implement a pauseless GC in Java that can compete with state-of-the-art concurrent GCs
Fichier non déposé

Dates et versions

hal-01263303 , version 1 (27-01-2016)

Identifiants

Citer

Maria Carpen-Amarie, Dave Dice, Patrick Marlier, Gaël Thomas, Pascal Felber. Evaluating HTM for pauseless garbage collectors in Java. ISPA 2015 : International Symposium on Parallel and Distributed Processing with Applications, Aug 2015, Helsinki, Finland. pp.1 - 8, ⟨10.1109/Trustcom.2015.606⟩. ⟨hal-01263303⟩
39 Consultations
0 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More