[erlang-questions] refactoring a very large record
Jesper Louis Andersen
Thu Oct 20 21:35:52 CEST 2011
On Thu, Oct 20, 2011 at 18:38, Matthew Sackman <> wrote:
> I don't know how Erlang does it, but one approach is that from all your
> processes stacks, traverse all pointers and mark all found terms as
> "visited" (transitively). Then, work through everything in the heap and
> anything not marked "visited" can be reclaimed.
> With erlang's heap-per-process memory model and plus generational GC, I
> could imagine this would work fairly well, but I've no idea whether this
> is actually what's used.
This is what is used, to my knowledge.
More information about the erlang-questions