| Hey Marko Bekhta, in case you are looking for another issue to hack on, this one may be a very interesting candidate next to all the small-ish bug fixes  It's more an investigation at this point. Jandex is a tool which creates an index of the annotations contained in a given JAR (either at build time in which case an index file will be added to the JAR, or at runtime) and thus allows very efficient retrieval of annotations once the index has been created. In WildFly, different libraries (such as HV) can use a shared index for a given deployment, avoiding them to do their own individual annotation scanning. You can learn more about it in the Jandex repo. In HV, we'd have a new MetadataProvider implementation based on this. I'd be very interesting to see whether that idea flies or not, one question being whether there are any downsides to keeping the Jandex index open all the time (which we'd like need to do as meta-data retrieval happens lazily in HV). Just let me know if you are interested in giving it a shot and we can discuss some details if you like. |