caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Richard Jones <rich@annexia.org>
To: Jon Harrop <jonathandeanharrop@googlemail.com>
Cc: 'Michael Ekstrand' <michael@elehack.net>, caml-list@yquem.inria.fr
Subject: Re: [Caml-list] How does OCaml update references when values are	moved by the GC?
Date: Wed, 3 Nov 2010 09:49:35 +0000	[thread overview]
Message-ID: <20101103094935.GB31914@annexia.org> (raw)
In-Reply-To: <019501cb7872$b56856b0$20390410$@com>

On Sat, Oct 30, 2010 at 09:40:32PM +0100, Jon Harrop wrote:
> Thanks for the info. I stumbled upon Richard's excellent web page describing
> the internals of OCaml and the write barrier but it does not describe how
> the pointers actually get rewritten.

I found out the details by reading the C code of the garbage collector
and sometimes the generated assembler from ocamlopt -S.  It's pretty
straightforward to follow.

Rich.

-- 
Richard Jones
Red Hat


  reply	other threads:[~2010-11-03  9:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <418632253.26199.1288302511712.JavaMail.root@zmbs1.inria.fr>
2010-10-29  7:47 ` Damien Doligez
2010-10-30 11:14   ` Elias Gabriel Amaral da Silva
2010-10-30 17:15   ` Jon Harrop
2010-10-30 17:38     ` Michael Ekstrand
2010-10-30 20:40       ` Jon Harrop
2010-11-03  9:49         ` Richard Jones [this message]
2010-10-30 20:40   ` Jon Harrop
     [not found]   ` <1033013046.78315.1288458970997.JavaMail.root@zmbs4.inria.fr>
2010-11-02 10:25     ` Xavier Leroy

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=20101103094935.GB31914@annexia.org \
    --to=rich@annexia.org \
    --cc=caml-list@yquem.inria.fr \
    --cc=jonathandeanharrop@googlemail.com \
    --cc=michael@elehack.net \
    /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;
as well as URLs for NNTP newsgroup(s).