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

Comments

Projects
None yet
1 participant
@enebo
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 added the JRuby 9000 label Jul 14, 2015

@enebo enebo modified the milestone: JRuby 9.0.0.0 Jul 14, 2015

@enebo enebo closed this Jul 16, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment