Skip to content

Interpreter memory rollback bug #266

Description

@agle

The PageTable implementation doesn't trigger a copy when a parent page table is written to and has a child referencing it.

Solutions:

  • Eagerly copy when cloning (inefficient)
  • Have each tree store a weak array to its children; write can then check if there are possibly live children referencing it and clone if needed: https://ocaml.org/manual/5.5/api/Weak.html

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions