Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
GC question.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: hammer@c...
Subject: Re: [Caml-list] GC question.
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

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?


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:
> >
> >
> >
> >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:
> Archives:
> Beginner's list:
> Bug reports: