Skip to content

Conversation

@luke-gruber
Copy link
Contributor

While working on ractor-local tracepoints, I noticed you could make TracePoint objects ractor-shareable with Ractor.make_shareable. This shouldn't be the case because this typed data type doesn't have the RUBY_TYPED_FROZEN_SHAREABLE flag set.

Now we check for typed data objects first, then traverse if it's allowed.

@launchable-app

This comment has been minimized.

@luke-gruber luke-gruber force-pushed the ractor_make_shareable_typeddata branch from 2037ff3 to 5a15954 Compare December 12, 2025 04:27
While working on ractor-local tracepoints, I noticed you could make `TracePoint`
objects ractor-shareable with `Ractor.make_shareable`. This shouldn't be
the case because this typed data type doesn't have the `RUBY_TYPED_FROZEN_SHAREABLE`
flag set.

Now we check for typed data objects first, then traverse if it's allowed.
@luke-gruber luke-gruber force-pushed the ractor_make_shareable_typeddata branch from 5a15954 to c0e2def Compare December 12, 2025 17:06
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