Browse thread
Re: [Caml-list] How does OCaml update references when values are moved by the GC?
-
Damien Doligez
- Xavier Leroy
- Elias Gabriel Amaral da Silva
- Jon Harrop
- Jon Harrop
[
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: | Elias Gabriel Amaral da Silva <tolkiendili@g...> |
| Subject: | Re: [Caml-list] How does OCaml update references when values are moved by the GC? |
2010/10/29 Damien Doligez <damien.doligez@inria.fr>: > > On 2010-10-28, at 23:48, Jon Harrop wrote: > >> How does OCaml update references in the stacks and heap when values are >> moved by the GC? > > > They are updated by the GC, of course. can't the GC just put a new reference for it in a data structure? it has to physically move it? (i think you are referring to moving data to the older generation; it could be a tree or a linked list, marking what exactly is old) -- Elias Gabriel Amaral da Silva <tolkiendili@gmail.com>