On Monday 29th october 2012 at 10am will be held the defense of the PhD of Mariano Martinez-Peck. This work is part of our partnership with  the INRIA RMoD team and proposes Marea an Application-Level Virtual Memory for Object-Oriented Systems. His experiments were obviously made using Pharo and result into  byproducts that are interesting for the community, namely: Fuel fast serializer and Ghost universal proxies.

The defense jury will be composed of:

  • Pr. Christophe Dony, Lirmm, Univ. Montpellier, France (Reviewer)
  • Pr. Robert Hirschfeld, HPI, Postdam, Germany (Reviewer)
  • Dr. Jean-Bernard Stéfani, DR Equipe SARDES, INRIA Grenoble-Rhone-Alpes, France
  • Dr. Roel Wuts, Principal Scientist at IMEC et Professeur à l’universté catholique de Leuven, Belgium
  • Dr. Stéphane Ducasse, DR Equipe RMod, INRIA Lille Nord Europe, France (Director)
  • Dr. Marcus Denker, CR Equipe RMod, INRIA Lille Nord Europe, France (co-supervisor)
  • Dr. Luc Fabresse,  Ecole des Mines de Douai, Université de Lille Nord de France (co-supervisor)
  • Dr. Noury Bouraqadi,  Ecole des Mines de Douai, Université de Lille Nord de France (co-supervisor)

You’ll find below a summary of the thesis:

Application-Level Virtual Memory for Object-Oriented Systems

During the execution of object-oriented applications, several millions of objects are created, used and then collected if they are not referenced. Problems appear when objects are unused but cannot be garbage-collected because they are still referenced from other objects. This is an issue because those objects waste primary memory and applications use more primary memory than what they actually need. We claim that relying on operating systems (OS) virtual memory is not always enough since it is completely transparent to applications. The OS cannot take into account the domain and structure of applications. At the same time, applications have no easy way to control nor influence memory management.

In this dissertation, we present Marea, an efficient application-level virtual memory for object-oriented programming languages. Its main goal is to offer the programmer a novel solution to handle application-level memory. Developers can instruct our system to release primary memory by swapping out unused yet referenced objects to secondary memory.

Marea is designed to: 1) save as much memory as possible i.e., the memory used by its infrastructure is minimal compared to the amount of memory released by swapping out unused objects, 2) minimize the runtime overhead i.e., the swapping process is fast enough to avoid slowing down primary computations of applications, and 3) allow the programmer to control or influence the objects to swap.

Besides describing the model and the algorithms behind Marea, we also present our implementation in the Pharo programming language. Our approach has been qualitatively and quantitatively validated. Our experiments and benchmarks on real-world applications show that Marea can reduce the memory footprint between 25% and 40%