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

Make AOT work on 9k #2235

Closed
enebo opened this issue Nov 24, 2014 · 0 comments
Closed

Make AOT work on 9k #2235

enebo opened this issue Nov 24, 2014 · 0 comments

Comments

@enebo
Copy link
Member

enebo commented Nov 24, 2014

In the new runtime we have no AOT support yet.

The solution we decided to use is to leverage IR persistence code (currently mildly bitrotted) to save/load the IR for whatever we are AOT'ing. This has an interesting side-effect of working 100% of the time (since IR can interpret any saved IR) as opposed to the old AOT support which might fail if a method or body is too large. It has a downside in load time will be increased because it has not yet been compiled to Java bytecode.

Packaging of this serialization can either be a new suffix like '.rbj' or it can be stuffed into a .class file as byte[]. This has yet to be determined.

@enebo enebo added this to the JRuby 9.0.0.0 milestone Nov 24, 2014
@enebo enebo modified the milestone: JRuby 9.0.0.0 Jul 14, 2015
@enebo enebo closed this as completed Jul 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant