A low Overhead Per Object Write Barrier for the Cog VM - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2016

A low Overhead Per Object Write Barrier for the Cog VM

Résumé

In several Smalltalk implementations, a program can mark any object as read-only (unfortunately incorrectly sometimes miscalled immutable). Such read-only objects cannot be mutated unless the program explicitly revert them to a writable state. This feature, called write barrier, may induce noticeable overhead if not implemented carefully, both in memory footprint and execution time. In this paper I discuss the recent addition of the write barrier in the Cog virtual machine and the support introduced in the Pharo 6 image. I detail specific aspects of the implementation that allows, according to multiple evaluations presented in the paper, to have such a feature with little to no overhead.
Fichier principal
Vignette du fichier
HAL.pdf (218.45 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01356338 , version 1 (26-08-2016)

Identifiants

Citer

Clément Bera. A low Overhead Per Object Write Barrier for the Cog VM. IWST 16, 2016, Pragues, Czech Republic. ⟨10.1145/2991041.2991063⟩. ⟨hal-01356338⟩
118 Consultations
281 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More