Browse thread
Re: [Caml-list] How does OCaml update references when values are moved by the GC?
[
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: | Richard Jones <rich@a...> |
| Subject: | Re: [Caml-list] How does OCaml update references when values are moved by the GC? |
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