AOT code usage restrictions
Andrew Haley
aph-open at littlepinkcloud.com
Mon Jan 26 11:23:27 UTC 2026
On 26/01/2026 09:38, Severin Gehwolf wrote:
> IMHO, the default should be "generic".
While I (slightly) agree with you about the default, as long as the
options are easy to select with a single command-line argument, it might
not matter very much in practice.
> Consider that they could run into the trap
> of thinking they'd get a good boost, but then are disappointed on the
> production run because the AOT code cache cannot be used and is being
> thrown away. The user walks away being disappointed and might only >
> > come back trying the feature with a later JDK release.
That's a good point, well made. I'd say something radical: don't have a
default, but force the user to choose. They'd get used to that wuickly
enough.
Andrew.
More information about the leyden-dev
mailing list