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

Improve block jitting to allow called-once containing method to see jitted block #5172

Open
headius opened this issue May 15, 2018 · 1 comment

Comments

@headius
Copy link
Member

headius commented May 15, 2018

For #4235 we introduced a workaround that forces the containing methods to jit when a block jits. However this is still not ideal, since if the containing method is only called once it will never see the jitted block. We would like to do a better job of jitting blocks in this situation, allowing them to run atop an interpreted containing method, but there are many issues here:

  • Management of scopes and frames in the presence of JIT optimization.
  • Structural differences in how interpreter versus JIT handles on-stack state

This would happen with post-9.2 performance work, ideally, so I'll target 9.2.1 for now.

@headius headius added this to the JRuby 9.2.1.0 milestone May 15, 2018
@headius headius modified the milestones: JRuby 9.2.1.0, JRuby 9.3.0.0 Oct 26, 2018
@headius
Copy link
Member Author

headius commented Apr 7, 2021

Larger performance work is scheduled to happen in 9.4 later this year, so I will retarget.

@headius headius modified the milestones: JRuby 9.3.0.0, JRuby 9.4.0.0 Apr 7, 2021
@headius headius modified the milestones: JRuby 9.4.0.0, JRuby 9.5.0.0 Nov 16, 2022
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

No branches or pull requests

1 participant