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

Update Ruby repo revision #96

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Update Ruby repo revision #96

merged 1 commit into from
Aug 22, 2024

Conversation

wks
Copy link
Collaborator

@wks wks commented Aug 22, 2024

The upstream made some changes to the root-scanning functions, notably,

  • Introduced yjit roots.
  • Seperated root-scanning into the GC-implementation-agnostic
    rb_gc_mark_roots in gc.c and the GC-implementation-specific
    mark_roots in gc/default.c.

In the ruby repo, we reorder the root-scanning functions in the upcall table so that the general functions come before the implementation-specific functions. Also added yjit roots as one upcall, although its implementation is a no-op if yjit is not enabled. See: mmtk/ruby#88

The upstream made some changes to the root-scanning functions, notably,

-   Introduced yjit roots.
-   Seperated root-scanning into the GC-implementation-agnostic
    rb_gc_mark_roots in gc.c and the GC-implementation-specific
    mark_roots in gc/default.c.

In the `ruby` repo, we reorder the root-scanning functions in the upcall
table so that the general functions come before the
implementation-specific functions.  Also added yjit roots as one upcall,
although its implementation is a no-op if yjit is not enabled.
@wks wks merged commit 7c02aca into mmtk:master Aug 22, 2024
8 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