Skip to content

Make AOT work on 9k #2235

@enebo

Description

@enebo

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions