From: Damien Doligez <Damien.Doligez@inria.fr>
To: <caml-list@inria.fr>
Subject: Re: [Caml-list] expose GC roots as weak Obj.t pointers?
Date: Fri, 18 Jul 2003 15:30:54 +0200 [thread overview]
Message-ID: <0E4A0700-B924-11D7-BC89-0003930FCE12@inria.fr> (raw)
In-Reply-To: <20030710080227.GA716@eecs.harvard.edu>
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
prev parent reply other threads:[~2003-07-18 13:30 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-09 10:10 [Caml-list] heap profiling Fabrice Le Fessant
2003-07-09 12:33 ` Jean-Christophe Filliatre
2003-07-09 14:59 ` Fabrice Le Fessant
[not found] ` <lefessan@tyminouch.dyndns.org>
2003-07-09 15:03 ` Norman Ramsey
2003-07-09 20:52 ` Christian Lindig
2003-07-10 8:02 ` [Caml-list] expose GC roots as weak Obj.t pointers? Christian Lindig
2003-07-18 13:30 ` Damien Doligez [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0E4A0700-B924-11D7-BC89-0003930FCE12@inria.fr \
--to=damien.doligez@inria.fr \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox