对于以下片段:
outer_func(State) -> spawn(fun()-> do_something(State) end).
是否将State其共享或深复制到生成的进程堆?
State
heap erlang spawn
erlang ×1
heap ×1
spawn ×1