Garbage Collection Evaluation Infrastructure for the Cog VM - Archive ouverte HAL Access content directly
Conference Papers Year : 2018

Garbage Collection Evaluation Infrastructure for the Cog VM

Sophie Kaleba
  • Function : Author
  • PersonId : 1036454
Clément Béra
  • Function : Author
  • PersonId : 1036557
Eliot Miranda
  • Function : Author
  • PersonId : 961911


One of the next steps to improve Cog, the default virtual machine for multiple programming languages in the Smalltalk family, such as Pharo, Squeak and Newspeak, is to decrease garbage collection pause times. Reference garbage collection algorithm implementations and a benchmarking infrastructure are required to evaluate the performance of a new algorithm and compare it. Cog features a Mark-Compact algorithm, used in production, to which we added a Mark-Sweep algorithm, providing two reference algorithms. Benchmarks are built using two different approaches. Firstly, we turned code from memory intensive deployed applications into benchmarks to simulate real-world applications. Secondly, we built a configurable benchmark which simulates an application with different heap properties to be able to stress specific aspects of the memory management. We then evaluated the two reference algorithms on the infrastructure built to obtain reference benchmark results.
Fichier principal
Vignette du fichier
paper.pdf (551.74 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-01874947 , version 1 (17-09-2018)


  • HAL Id : hal-01874947 , version 1


Sophie Kaleba, Clément Béra, Eliot Miranda. Garbage Collection Evaluation Infrastructure for the Cog VM. International Workshop on Smalltalk Technologies, Sep 2018, Cagliari, Italy. ⟨hal-01874947⟩
138 View
125 Download


Gmail Mastodon Facebook X LinkedIn More