Re: Finalisation in 2.02

From: Damien Doligez (Damien.Doligez@inria.fr)
Date: Thu Dec 23 1999 - 18:06:45 MET


Date: Thu, 23 Dec 1999 18:06:45 +0100
From: Damien Doligez <Damien.Doligez@inria.fr>
Message-Id: <199912231706.SAA10331@tobago.inria.fr>
To: caml-list@inria.fr
Subject: Re: Finalisation in 2.02

>From: Patrick Goldbronn - SYSCO <patrick.goldbronn@cea.fr>
>
>What's append when we change the finalization parameters values ?
>We alloc an object of type toto with 1,200 and another object toto with
>9,146
>
>It's the last number which is keep by GC (here 146) and erase previous
>value (200)
>The same with the pound (1 and 9) or they are adding -> 1+9 = 10 < 146 ?

Each pair of numbers is actually a rational number and they are added
together to tell the GC how advanced it should be into its cycle.

In your example, you get 1/200 + 9/146 = 973/14600, or about 6.6 %

-- Damien



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:29 MET