Skip to content

Narrow frame name optimization to method scopes#8227

Merged
headius merged 1 commit intojruby:9.5-devfrom
headius:narrow_frame_optimization
May 8, 2024
Merged

Narrow frame name optimization to method scopes#8227
headius merged 1 commit intojruby:9.5-devfrom
headius:narrow_frame_optimization

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
@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.

1 participant