GitHub user ivan-velikanov edited a comment on the discussion: Support for AOT, 
AOTCache for faster netbeans startup

Even with zulu jdk25 for AOT it says `Unknown option -XX:AOTCacheOutput=nb.aot` 
,  after sometime i realized i did not prefix `-J-` after that it worked, but I 
did not feel a significant increase in speed, it just felt fast. It already 
load quiet decently so I am unable to say. There were several warning messages 
related to aot ... 
```
[35.818s][warning][aot] Preload Warning: Verification failed for 
org.netbeans.modules.javahelp.JavaHelp
[36.614s][warning][aot] Skipping jdk/internal/jrtfs/JrtFileSystemProvider: 
Duplicated unregistered class
[36.615s][warning][aot] Skipping jdk/internal/jrtfs/JrtFileSystem: Duplicated 
unregistered class
[36.615s][warning][aot] Skipping jdk/internal/jrtfs/JrtPath: Duplicated 
unregistered class
[36.615s][warning][aot] Skipping jdk/internal/jrtfs/JrtFileStore: Duplicated 
unregistered class
[36.616s][warning][aot] Skipping jdk/internal/jrtfs/SystemImage$1: Duplicated 
unregistered class
[36.616s][warning][aot] Skipping jdk/internal/jrtfs/ExplodedImage: Duplicated 
unregistered class
[36.616s][warning][aot] Skipping jdk/internal/jrtfs/SystemImage$2: Duplicated 
unregistered class
[36.617s][warning][aot] Skipping jdk/internal/jimage/ImageReader: Duplicated 
unregistered class
... it goes on
 ```
 
 The AOT file was ~150 MB
 
 (Edited)

GitHub link: 
https://github.com/apache/netbeans/discussions/8840#discussioncomment-14427330

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to