[erlang-questions] Garbage collection

Lukas Larsson lukas@REDACTED
Fri Oct 31 10:37:29 CET 2014


Hello,

On Fri, Oct 31, 2014 at 10:20 AM, Chandrashekhar Mullaparthi <
chandrashekhar.mullaparthi@REDACTED> wrote:

>
>
> I have a question about beam’s GC implementation. When an erlang process
> is being GCed, is the processing required to do the GC taken out of the
> process’s 2000 reduction quota, or is it done after a process has been
> scheduled out?
>
>
>

The GC work is taken out of the process' reductions. The GC is never
triggered when it is scheduled out, but it can be triggered before being
scheduled in, in which case the newly allotted reductions will be reduced
by the GC work.

Lukas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20141031/9b2f71a7/attachment.htm>


More information about the erlang-questions mailing list