From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by yquem.inria.fr (Postfix) with ESMTP id 248BEBB84 for ; Sun, 13 Jul 2008 15:37:38 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlEAACeheUgRlBBZomdsb2JhbACSLQEBAQEBAQcFBgkRlFU X-IronPort-AV: E=Sophos;i="4.30,353,1212357600"; d="scan'208";a="13077037" Received: from discorde.inria.fr ([192.93.2.38]) by mail2-smtp-roc.national.inria.fr with ESMTP; 13 Jul 2008 15:37:38 +0200 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id m6DDbbFW019168 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 13 Jul 2008 15:37:37 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlEAACeheUgRlBBZomdsb2JhbACSLQEBAQEBAQcFBgkRlFU X-IronPort-AV: E=Sophos;i="4.30,353,1212357600"; d="scan'208";a="13077035" Received: from asmtpout014.mac.com ([17.148.16.89]) by mail2-smtp-roc.national.inria.fr with ESMTP; 13 Jul 2008 15:37:36 +0200 MIME-version: 1.0 Content-type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Received: from [192.168.8.152] (c-65-96-188-162.hsd1.ma.comcast.net [65.96.188.162]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K3Y00G775UM0B60@asmtp014.mac.com> for caml-list@inria.fr; Sun, 13 Jul 2008 06:37:35 -0700 (PDT) Sender: malichus@mac.com Message-id: <8D63DEFE-81E4-4057-8170-646A0C59C9F4@mac.com> From: Gordon Henriksen To: Caml List In-reply-to: <50710496-7007-4A9C-BFA4-DB98EEAD360E@nicta.com.au> Content-transfer-encoding: quoted-printable Subject: Re: [Caml-list] Heaps size problems with "caml_alloc_small" in foreign function interfaces Date: Sun, 13 Jul 2008 09:37:31 -0400 References: <97BDCFD7-C714-440D-A04E-2C141E4AD3E0@nicta.com.au> <20080712085016.GA430@annexia.org> <50710496-7007-4A9C-BFA4-DB98EEAD360E@nicta.com.au> X-Mailer: Apple Mail (2.928.1) X-Miltered: at discorde with ID 487A0521.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; alloc:01 bug:01 garbage:01 wrote:01 caml-list:01 interfaces:01 caml:02 roots:02 root:04 size:95 problem:05 table:93 function:08 heaps:10 gordon:11 On 2008-07-13, at 09:25, Sean Seefried wrote: > After a weekend's worth of ruminating I have finally found the bug =20 > 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 =20= > address the garbage collector moves these values to? I need to =20 > update the table when this happens. You need to register them as roots and the collector will update them =20= for you. =97 Gordon