From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA23150; Thu, 10 Apr 2003 16:59:32 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA23295 for ; Thu, 10 Apr 2003 16:59:31 +0200 (MET DST) Received: from epexch01.qlogic.org ([63.170.40.3]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h3AExT912632 for ; Thu, 10 Apr 2003 16:59:29 +0200 (MET DST) Received: from epmailtmp.qlogic.org ([10.20.33.254]) by epexch01.qlogic.org with Microsoft SMTPSVC(5.0.2195.5329); Thu, 10 Apr 2003 09:59:36 -0500 Received: from [10.20.33.146] ([10.20.33.146]) by epmailtmp.qlogic.org with Microsoft SMTPSVC(5.0.2195.4905); Thu, 10 Apr 2003 09:59:35 -0500 Date: Thu, 10 Apr 2003 10:03:28 -0500 (CDT) From: Brian Hurt X-X-Sender: Reply-To: Brian Hurt To: Jean-Christophe Filliatre cc: Caml List Subject: Re: [Caml-list] Re: Wanted - General Purpose "Glue Logic" Data-Structures In-Reply-To: <16021.10090.355061.746312@gargle.gargle.HOWL> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-OriginalArrivalTime: 10 Apr 2003 14:59:35.0857 (UTC) FILETIME=[CD2EAA10:01C2FF71] X-Spam: no; 0.00; qlogic:01 caml-list:01 glue:01 filliatre:01 deallocate:01 decreased:99 pointers:01 garbage:01 wrote:03 allocated:03 array:04 preventing:05 blocks:06 brian:06 thu:08 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Thu, 10 Apr 2003, Jean-Christophe Filliatre wrote: > > In the solution I proposed, you do not deallocate the array block when > you delete the last element; only the size is decreased. If the array is holding pointers to allocated blocks, then you may be keeping false pointers and preventing GC from cleaning up garbage. Brian ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners