Skip to content

Move methods in multiple VM traits into VMBinding #1035

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qinsoon
Copy link
Member

@qinsoon qinsoon commented Dec 3, 2023

The main motivation for the PR is to simplify VMBinding so it is easier to create a mock for trait VMBinding for the purpose of testing. It removes the existing ActivePlan/Collection/ObjectModel/Scanning/ReferenceGlue, and moves their members all into VMBinding with minor renaming. This PR supersedes #652.

Changes:

  • Remove ActivePlan/Collection/ObjectModel/Scanning/ReferenceGlue, and move their members all into VMBinding
  • Add the word object to some method names in the old ObjectModel.
  • Add the word weakref to some method names in the old ReferenceGlue.
  • Rename some of the modules in mmtk::vm.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant