[erlang-questions] Change in garbage collector behavior?

Per Melin per.melin@REDACTED
Fri May 16 23:45:43 CEST 2008


2008/5/16 Alpár Jüttner <alpar@REDACTED>:
> Isn't it possible that the shell somehow wants to pass the result in a
> message into another process (and therefore copy it)?

To work through the shame I traced the process which grows (which is
running functions in the shell module) and it does indeed receive a
message with the value of the assignment. Unless I'm shooting myself
in the foot again.

After doing: A = F(4), ok.

{trace_ts,<0.24.0>,'receive',
    {shell_rep,<0.30.0>,
        {value,ok,
            [{'A',[[[[[]],[]],[[]],[]],[[[]],[]],[[]],[]]},
             {'F',#Fun<erl_eval.6.13229925>},
             {'S',<0.30.0>}],
            []}},
    {1210,973308,195294}}



More information about the erlang-questions mailing list