Skip to content

Reduceron's garbage collection can loose the sharedness of references #19

@tommythorn

Description

@tommythorn

This is the Lava dual of the emulator bug fixed in aadd78c 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions