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

Narrow frame name optimization to method scopes #8227

Merged
merged 1 commit into from
May 8, 2024

Conversation

headius
Copy link
Member

@headius headius commented May 8, 2024

Non-method scopes like classes and modules have issues with the frame name not properly propagating into the executing body, and blocks may be used for define_method which introduces similar complexities in getting the frame name. This patch temporarily narrows the frame name optimization to method bodies only.

Non-method scopes like classes and modules have issues with the
frame name not properly propagating into the executing body, and
blocks may be used for define_method which introduces similar
complexities in getting the frame name. This patch temporarily
narrows the frame name optimization to method bodies only.
@headius headius added this to the JRuby 10.0.0.0 milestone May 8, 2024
@headius headius changed the title Only do this optimization for method scopes Narrow frame name optimization to method scopes May 8, 2024
@headius headius merged commit a3d35cf into jruby:9.5-dev May 8, 2024
26 of 59 checks passed
@headius headius deleted the narrow_frame_optimization branch May 8, 2024 18:29
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.

None yet

1 participant