I am working on a Java project that involves async tasks, but where performance is important. This is why not producing garbage is essential. CompletableFutures are practical, but their use inherently produces garbage as once they are completed, they cannot be "reset" to be reused (as part of an object pool as for example).
Are there any implementations/libraries out there that enable resetting or that have "zero GC" in mind?
Looking at the CompletableFuture class, it doesn't look trivial to override functionality as it is quite complex.