mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
The initial implementation of the embedded class loader took a brute force approach to supporting multi-release JARs - iterating over all possible release versions when searching for classes and resources. This change improves upon that approach by deriving and caching package and version specific maps, so class and resource loading can go directly to the class and resource bytes, respectively, rather than searching. It's hard to get empirical numbers to quanify just how much this change improves the performance of classes loaded by this loader, and there is typically only a couple of hundred classes loaded, but the initial cli seems observably much quicker, while the server startup has improved just a bit (at least on my machine). |
||
---|---|---|
.. | ||
src/test | ||
build.gradle |