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

Handle conditional PPPs (iseq) #80

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Handle conditional PPPs (iseq) #80

merged 1 commit into from
Jul 8, 2024

Conversation

wks
Copy link
Collaborator

@wks wks commented Jul 8, 2024

If a previously registered PPP is no longer a PPP when a GC starts, we don't pin its children, and we remove it from the list of PPPs. Currently only iseq is conditional PPP.

If a previously registered PPP is no longer a PPP when a GC starts, we
don't pin its children, and we remove it from the list of PPPs.
Currently only iseq is conditional PPP.
@wks wks merged commit 939954d into mmtk:master Jul 8, 2024
7 checks passed
@wks
Copy link
Collaborator Author

wks commented Jul 9, 2024

I reverted this PR because it contains bugs that somehow slipped through CI tests. I'll work on this optimization again later based on the code in #83.

wks added a commit to wks/mmtk-ruby that referenced this pull request Aug 22, 2024
The Ruby repository cherry-picked mmtk/ruby#80
onto the dev/mmtk-overrides-default branch which will follow the
official master branch.  It added CI scripts and excluded some tests
using Ruby scripts in the `.excludes-mmtk/` directory.

With this change, it should be, in theory, possible to selectively run
tests runnable for MMTk without using the whitelist
`ruby-test-cases.txt` in this repo.  However, some test cases still
crashes due to bugs in the binding.  We'll still use the whitelist for
running binding tests for the mmtk-core repo, until we fix those crashes
so that `make test-all` can finish safely with MMTk enabled.  For this
reason, we are not changing the CI scripts in this repository.
wks added a commit to wks/mmtk-ruby that referenced this pull request Aug 22, 2024
The Ruby repository cherry-picked mmtk/ruby#80
onto the dev/mmtk-overrides-default branch which will follow the
official master branch.  It added a CI scripts and excluded some tests
using Ruby scripts in the `.excludes-mmtk/` directory.

We add an option to `make test-all` to take the `.excludes-mmtk`
directory into consideration.

With this change, it should be, in theory, possible to selectively run
tests runnable for MMTk without using the whitelist
`ruby-test-cases.txt` in this repo.  However, some test cases still
crashes due to bugs in the binding.  We'll still use the whitelist for
running binding tests for the mmtk-core repo, until we fix those crashes
so that `make test-all` can finish safely with MMTk enabled.
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