elasticsearch/qa/evil-tests
Chris Hegarty 1ce64290a1
Add package cache to EmbeddedImplClassLoader (#88537)
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).
2022-07-25 15:31:58 +01:00
..
src/test Move logging config assertion to server cli (#87774) 2022-06-17 06:16:33 -07:00
build.gradle Add package cache to EmbeddedImplClassLoader (#88537) 2022-07-25 15:31:58 +01:00