https://github.com/smallrye/jandex/pull/303 has introduced pooling of resources while performing indexing; pooling include both temporary byte[] and input streams, reducing the required memory to perform indexing. In order to enable such optimization is necessary to reuse the same Indexer across different indexing operations, instead of creating it every time, on demand. |