Reduceron icon indicating copy to clipboard operation
Reduceron copied to clipboard

Reduceron's garbage collection can loose the sharedness of references

Open tommythorn opened this issue 11 years ago • 0 comments

This is the Lava dual of the emulator bug fixed in aadd78cf where the sharedness can be lost in copyChild.

What happens is that we see an already copied app and we use the stored forwarding pointer from the original reference, including the sharedness. This fails if the original reference was unique (which is allowed in heap Apps even though the App ends up shared), and the second visited reference was shared.

Quite subtle.

tommythorn avatar Apr 14 '13 06:04 tommythorn