Towards an efficient pauseless Java GC with selective HTM-based access barriers - Archive ouverte HAL
Communication Dans Un Congrès Année : 2017

Towards an efficient pauseless Java GC with selective HTM-based access barriers

Résumé

The garbage collector (GC) is a critical component of any managed runtime environment (MRE), such as the Java virtual machine. While the main goal of the GC is to simplify and automate memory management, it may have a negative impact on the application performance, especially on multi-core systems. This is typically due to stop-the-world pauses, i.e., intervals for which the application threads are blocked during the collection. Existing approaches to concurrent GCs allow the application threads to perform at the same time as the GC at the expense of throughput and simplicity. In this paper we build upon an existing pauseless transactional GC algorithm and design an important optimization that would signi cantly increase its throughput. More precisely, we devise selective access barriers, that de ne multiple paths based on the state of the garbage collector. Preliminary evaluation of the selective barriers shows up to 93% improvement over the initial transactional barriers in the worst case scenario. We estimate the performance of a pauseless GC having selective transactional barriers and nd it to be on par with Java's concurrent collector
Fichier non déposé

Dates et versions

hal-01698357 , version 1 (01-02-2018)

Identifiants

Citer

Maria Carpen-Amarie, Yaroslav Hayduk, Pascal Felber, Christof Fetzer, Gaël Thomas, et al.. Towards an efficient pauseless Java GC with selective HTM-based access barriers. MANLANG 2017 : 14th international conference on Managed Languages and Runtimes , Sep 2017, Prague, Czech Republic. pp.85 - 91, ⟨10.1145/3132190.3132208⟩. ⟨hal-01698357⟩
107 Consultations
0 Téléchargements

Altmetric

Partager

More