Support for AOT, AOTCache for faster netbeans startup #8840
Replies: 3 comments 6 replies
-
This is not an issue of NetBeans. The JDK must support the option and the description indicates to me, that you did nothing to configure JDK25 to be used. The FOAN installers bundle JDK 24, so it is not surprising, that this does not work. |
Beta Was this translation helpful? Give feedback.
-
AOT caches break most applications which do anything related to dynamic module loading. I am also somewhat skeptical that it would do something for NB, since most work IDEs do is highly use case specific - NB itself starts in ~3s or so if nothing else has to be opened too. https://openjdk.org/jeps/483 see "risks and assumptions", esp the first two points are showstoppers |
Beta Was this translation helpful? Give feedback.
-
I think I concur with @mbien and @neilcsmith-net that this is likely not help NB very much (because of the ClassLoaders, and possibly also other things). But, the "Unknown option" error is confusing me, given this is a
And it seems to run. I am not saying it is faster, just that it runs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
JDK25 comes with stable feature additions such as -XX:AOTCacheOutput and -XX:AOTCache however currently netbeans doesn't seem to support these options by configuring the netbeans.conf file. If set netbeans launcher throws an error in the console logs saying Unknown options.
Is it possible to have these enabled?
Thank you
Use case/motivation
Will make netbeans start faster
Related issues
No response
Are you willing to submit a pull request?
No
Beta Was this translation helpful? Give feedback.
All reactions