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
[Caml-list] The Bytecode Interpreter...
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-10 (10:26)
From: Damien Doligez <damien.doligez@i...>
Subject: Re: [Caml-list] The Bytecode Interpreter...
On Oct 29, 2005, at 13:29, Gerd Stolpmann wrote:

> Major GC: In principle, you can stop it at any time. You should  
> probably
> do so when the interrupt occurs. And then? The ISR must not allocate
> memory in this case, because the memory manager cannot give it to  
> you in
> this moment (major GCs are triggered from minor GCs, so the minor heap
> is currently full).

Actually, in OCaml a major GC slice is triggered right _after_ each  
GC, so the minor heap is always empty when the major GC is running.

-- Damien