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

enebo opened this issue Nov 24, 2014 · 0 comments

Make AOT work on 9k #2235

enebo opened this issue Nov 24, 2014 · 0 comments


Copy link

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 milestone Nov 24, 2014
@enebo enebo modified the milestone: JRuby 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
None yet

No branches or pull requests

1 participant