oers opened a new issue #3838: URL: https://github.com/apache/netbeans/issues/3838
### Description Currently the JarClassloader is kind of slow. It iterates over ALL present jars, when queried for ressources or classes. This leads to drastic perfomance losses with lots of jars and many resource requests. There is no caching. ### Use case/motivation In our netbeans platform project Hibernate initialisation takes 40 seconds (compared to the same initialisiation in a Unit test which takes 4 seconds). Hibernates looks for a lot of SPI Lookups and Flyway looks for sql migratrion files for example. We made our own adapted version of the JarClassloader which remembers which classes/resources are located in which jars and this improved perfoamce drastically for the whole application. This approach might not be feasibly for the netbeans product as such but it shows that there is room for performance improvements. ### Related issues _No response_ ### Are you willing to submit a PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [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
