On Thursday, July 10, 2003, at 10:02 AM, Christian Lindig wrote:
> Would it be possible (in principle) to expose the GC roots as an array
> of weak Obj.t pointers? This would allow to walk the heap from Caml
> using Obj.
>
> Gc.roots: unit -> Obj.t Weak.t
I think this should be possible. Of course, you wouldn't want to
examine
this data too often because it would prevent the GC from reclaiming
any memory.
-- Damien
-------------------
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