[External] : Re: AOT code usage restrictions
María Arias de Reyna Dominguez
mariasde at redhat.com
Mon Jan 26 09:01:59 UTC 2026
On Fri, Jan 23, 2026 at 10:36 PM Vladimir Kozlov <vladimir.kozlov at oracle.com>
wrote:
> So the main question for now what default mode we should choose for AOT
> code in JEP: "generic" or "native"?
>
My two cents: it makes sense to make the "native" the default mode, because
that's the one people should use. Because it is the one that gets more
juice from your app. Because it is the one that makes most sense if you
want to improve startup and warmup times.
If someone has a special environment, like using machines for production
that have who knows what configuration and hardware specs, then that's a
special case that needs a special argument. Just because that's a common
bug of very famous hosting providers, doesn't mean it should be taken as
the right/default way of operating. And adding an extra argument isn't that
much of a job.
Maybe this way some of those hosting providers will realize that they
should add options to offer specific hardware if the user wants them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/leyden-dev/attachments/20260126/48a50aeb/attachment.htm>
More information about the leyden-dev
mailing list