Skip to content

Highly probable memory leak with VM::push / VM::pop  #60

@poteto

Description

@poteto

We currently push objects onto the stack via Vec::insert, which pushes all elements after it to the right. When we pop we don't remove the object from the stack, only decrementing the stack pointer. The VM therefore cannot reclaim popped objects from the stack because they keep getting shifted to the right.

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