Preventing Memory and Information LeakageIncinerator – Eliminating Stale References in Dynamic OSGi Applications

Abstract : Java class loaders are commonly used in application servers to load, unload and update a set of classes as a unit. However, unloading or updating a class loader can introduce stale references to the objects of the outdated class loader. A stale reference leads to a memory leak and, for an update, to an inconsistency between the outdated classes and their replacements. To detect and eliminate stale references, we propose Incinerator, a Java virtual machine extension that introduces the notion of an outdated class loader. Incinerator detects stale references and sets them to null during a garbage collection cycle. We evaluate Incinerator in the context of the OSGi framework and show that Incinerator correctly detects and eliminates stale references, including a bug in Knopflerfish. We also evaluate the performance of Incinerator with the DaCapo benchmark on VMKit and show that Incinerator has an overhead of at most 3.3%.
Type de document :
Communication dans un congrès
Dependable Systems and Networks, Sep 2015, Rio de Janeiro, Brazil. IEEE, 45th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), 45th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN)
Liste complète des métadonnées

Littérature citée [25 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01198922
Contributeur : Gilles Muller <>
Soumis le : mercredi 9 décembre 2015 - 16:29:33
Dernière modification le : vendredi 31 août 2018 - 09:25:54
Document(s) archivé(s) le : jeudi 10 mars 2016 - 13:01:21

Fichier

8629a545.pdf
Fichiers éditeurs autorisés sur une archive ouverte

Identifiants

  • HAL Id : hal-01198922, version 1

Collections

Citation

Koutheir Attouchi, Gael Thomas, Gilles Muller, Julia L. Lawall, André Bottaro. Preventing Memory and Information LeakageIncinerator – Eliminating Stale References in Dynamic OSGi Applications. Dependable Systems and Networks, Sep 2015, Rio de Janeiro, Brazil. IEEE, 45th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN), 45th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN). 〈hal-01198922〉

Partager

Métriques

Consultations de la notice

209

Téléchargements de fichiers

100