system description

John Rose john.r.rose at oracle.com
Wed Dec 23 01:40:26 UTC 2015


On Dec 22, 2015, at 3:14 AM, MacGregor, Duncan (GE Energy Management) <duncan.macgregor at ge.com> wrote:

> I agree that annotations are better than a meta-file, but what about
> borrowing some of the work from multi-release jars and storing the classes
> under some hierarchy that matches the OS/CPU/ABI? That would allow for the
> output of extract on multiple architectures to be safely combined and
> loaded as appropriate.

Thanks for the comment.  Using multi-JARs is definitely in the cards.

It will get even more interesting when we start to bundle binary executable resources (for C++).  The jimage format might be best for this.

In the worst case, even on a single ABI there might be several independently generated configurations (selected by -m and -D options to cc).

On the other hand, we have some hope that we can reuse some of the extracted interfaces across platforms, if they are portable enough.

In that case, we'll attach multiple ABIs (etc.) as repeated annotations.

Figuring out the best practices will require lots of experimentation.

— John


More information about the panama-dev mailing list