Skip to content

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 caizixian and wks 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