Hi aliaksei

I do not know. Now I know that last week guille was trying to understand memory leaks
and they all were around Weak structures

Stef

Le 28/3/16 21:08, Aliaksei Syrel a ��crit��:
Assume we have the following weak message send:

message := WeakMessageSend��
�� ��receiver: Morph new
�� selector: #color.
100000 timesRepeat: [ message value ]

If you execute it in latest Pharo and VM ��you will (almost 100% sure) get DNU. (but it should just return nil if receiver is garbage collected)

How can I ensure that it selector is not being sent to nil?

http://ws.stfx.eu/6QOWBLQENVIY

Am I doing something wrong?

Cheers,
Alex