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

Support heap traversal #91

Merged
merged 2 commits into from
Aug 23, 2024
Merged

Conversation

wks
Copy link

@wks wks commented Aug 23, 2024

We use the object enumeration feature in mmtk-core to implement heap
traversal. This enables ObjectSpace.each_object as well as the
TracePoint utility which needs heap traversal to enumerate objects and
set hooks.

Test cases involving each_object and TracePoint are no longer excluded.
The TestTracepointObj test case remains excluded because we have not
implemented querying GC statistics from TracePoint.

Related PR: mmtk/mmtk-ruby#98

@wks
Copy link
Author

wks commented Aug 23, 2024

The MMTK github action of this repo failed (https://github.com/mmtk/ruby/actions/runs/10523846447/job/29159402789?pr=91) for compilation error because it tests against the master branch of the mmtk/mmtk-ruby repo, while this revision relies on an updated mmtk-ruby (mmtk/mmtk-ruby#98). This is expected. In this case, we'll see if the CI tests in mmtk/mmtk-ruby#98 succeed. It uses a metadata in Cargo.toml to specify the revision of the mmtk/ruby repo to test against.

We use the object enumeration feature in mmtk-core to implement heap
traversal.  This enables `ObjectSpace.each_object` as well as the
`TracePoint` utility which needs heap traversal to enumerate objects and
set hooks.

Test cases involving each_object and TracePoint are no longer excluded.
The TestTracepointObj test case remains excluded because we have not
implemented querying GC statistics from TracePoint.
@wks wks merged commit da5e57a into dev/mmtk-overrides-default Aug 23, 2024
202 of 218 checks passed
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.

1 participant