Browse thread
[Caml-list] heap profiling
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Damien Doligez <Damien.Doligez@i...> |
| Subject: | Re: [Caml-list] expose GC roots as weak Obj.t pointers? |
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