record deep dive

Ulf Wiger <>
Thu Dec 16 21:51:57 CET 2004

On Thu, 16 Dec 2004 11:05:07 +0100 (MET), Kostis Sagonas  
<> wrote:

>  > Apparently, the compiler is capable of
>  > realizing that the output of lists:duplicate/2 should
>  > be put on the shared heap, since it is later passed
>  > as an argument in spawn_link()? Impressive.
> Thanks for the "Impressive", but unfortunately this is not true.
> We still have not hooked the changes to the compiler for the
> hybrid heap.  This ability to recognize shared data is currently
> only part of the hybrid runtime system.  As such it does indeed
> help but it has a runtime cost.  Wait till you see the changes
> in the compiler being hooked in... and then you'll really be
> impressed !

Ok, then, John Hughes and I don't have to feel too stupid
for staring at the ring.S listing and not being able to
spot the instructions that directed the data to the shared
heap in the first place! I feel much better now.  (:

Ulf Wiger

More information about the erlang-questions mailing list