Version française
Home     About     Download     Resources     Contact us    
Browse thread
Re: [Caml-list] Heaps size problems with "caml_alloc_small" in foreign function interfaces
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gordon Henriksen <gordonhenriksen@m...>
Subject: Re: [Caml-list] Heaps size problems with "caml_alloc_small" in foreign function interfaces
On 2008-07-13, at 09:25, Sean Seefried wrote:

> After a weekend's worth of ruminating I have finally found the bug  
> in my code. It didn't turn out to be a root registration problem [...]
>
> So now I have a question. Is there any way that I can find out what  
> address the garbage collector moves these values to? I need to  
> update the table when this happens.


You need to register them as roots and the collector will update them  
for you.

— Gordon