English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Stopping and continuing GC
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-17 (14:05)
From: Markus Mottl <markus.mottl@g...>
Subject: Re: [Caml-list] Stopping and continuing GC
On 8/16/07, Jacques Garrigue <garrigue@math.nagoya-u.ac.jp> wrote:
> My understanding is that compaction is atomic, so there is no
> notion of starting and stopping it, just of allowing it or not.

This, btw., raises an interesting question: are there any ways (and
hopefully even intentions) to make compaction work in slices like the
major GC does?  We write extremely latency sensitive applications and
often even have to manually control when the GC performs collections.

Unfortunately, compaction cannot be controlled in the same way as the
major GC can be (e.g. calling the major GC with a specific slice
size).  That's why we have to turn off automatic compactions, too, and
run these latency sensitive applications on machines with very large
amounts of memory.

Are there any intentions to remedy this situation?


Markus Mottl        http://www.ocaml.info        markus.mottl@gmail.com