From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 797D9BB9A for ; Tue, 25 Oct 2005 21:20:52 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j9PJKqKP012164 for ; Tue, 25 Oct 2005 21:20:52 +0200 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA29756 for ; Tue, 25 Oct 2005 21:20:51 +0200 (MET DST) Received: from laime.cs.uchicago.edu (laime.cs.uchicago.edu [128.135.11.94]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j9PJKoFT011094; Tue, 25 Oct 2005 21:20:51 +0200 Received: from localhost (kadlec.cs.uchicago.edu [128.135.11.86]) by private.cs.uchicago.edu (Postfix) with ESMTP id F1AF26D168; Tue, 25 Oct 2005 14:20:49 -0500 (CDT) Received: from laime.cs.uchicago.edu ([128.135.11.94]) by localhost (kadlec.cs.uchicago.edu [128.135.11.86]) (amavisd-new, port 10024) with ESMTP id 32180-01; Tue, 25 Oct 2005 14:20:45 -0500 (CDT) Received: from fast-mail.cs.uchicago.edu (fast-mail.cs.uchicago.edu [128.135.24.225]) by laime.cs.uchicago.edu (Postfix) with ESMTP id E557A6D025; Tue, 25 Oct 2005 14:20:45 -0500 (CDT) Received: by fast-mail.cs.uchicago.edu (Postfix, from userid 10196) id CFE1B3977; Tue, 25 Oct 2005 14:20:45 -0500 (CDT) Date: Tue, 25 Oct 2005 14:20:45 -0500 To: Damien Doligez Cc: caml users Subject: Re: [Caml-list] GC question. Message-ID: <20051025192045.GB31792@fast-mail.cs.uchicago.edu> References: <20051024175339.GA4331@fast-mail.cs.uchicago.edu> <0DF4E6A7-C09B-419C-AFDC-4B98DC2A7692@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0DF4E6A7-C09B-419C-AFDC-4B98DC2A7692@inria.fr> User-Agent: Mutt/1.5.6+20040818i From: hammer@cs.uchicago.edu (MATTHEW HAMMER) X-Miltered: at nez-perce with ID 435E8594.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 435E8592.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 uchicago:01 garbage:01 ocaml:01 runtime:01 generational:01 garbage:01 damien:01 libref:01 ocaml:01 damien:01 caml-list:01 beginner's:01 beginners:01 bug:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 I'm not certain what style of garbage collection is done in the ocaml runtime environment, but if its generational for example, I'd like to move certain values into the 'oldest' generation, so that the garbage collector doesn't waste time on them. The running program in question has a large datastructure that is very persistent which takes a lot of GC time if it is transversed too often. So I suppose what I'm asking is: is there a way to give the GC'er 'hints' through the Obj module, or any other method? Thanks, Matt On Tue, Oct 25, 2005 at 08:41:34PM +0200, Damien Doligez wrote: > > On Oct 24, 2005, at 19:53, MATTHEW HAMMER wrote: > > >Is there more documentation on the stuff in the Obj module? > >What I see/know-about is here: > > > > http://caml.inria.fr/pub/docs/manual-ocaml/libref/Obj.html > > > >I'm very interested in getting (write) access to GC-information on > >ocaml values. > > What kind of GC information do you want to modify? > > -- Damien > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs