Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Clean up add ref candidates API. Add sysGetBooleanOption(). #12

Merged
merged 2 commits into from
Apr 28, 2022

Conversation

qinsoon
Copy link
Member

@qinsoon qinsoon commented Apr 6, 2022

This PR is related with mmtk/mmtk-jikesrvm#109 for weak reference support.

  • The JikesRVM Option NoReferenceTypes is no longer set to true to disable reference types. Instead, when using with Rust MMTk, JikesRVM will query the third party heap to get boolean option for noReferenceTypes.
  • Properly deal with address vs object vs object reference in the addXXXXReference() methods.

@qinsoon qinsoon changed the title NoReferenceType is defaulted to false. Clean up add ref candidates API. Clean up add ref candidates API. Add sysGetBooleanOption(). Apr 7, 2022
@qinsoon qinsoon marked this pull request as ready for review April 7, 2022 05:26
@qinsoon qinsoon requested review from wks and caizixian April 7, 2022 05:32
Copy link
Collaborator

@wks wks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qinsoon qinsoon merged commit c325809 into master Apr 28, 2022
qinsoon added a commit to mmtk/mmtk-jikesrvm that referenced this pull request Apr 28, 2022
This adds weak reference support, and updates MMTk core to mmtk/mmtk-core#564.

* implement new changes in mmtk/mmtk-core#564
* properly set `referent` in `add_xxxx_candidates()`.
* Implement `get_boolean_option()` (see changes in mmtk/jikesrvm#12).
* add test with weak reference enabled (by default, it is disabled).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants