pooledScan

fun <Error class: unknown class>.pooledScan(): <Error class: unknown class>

Use this rather than the built-in implementation of ClassGraph.scan. The built-in implementation creates a thread pool every time, resulting in too many threads. This one uses a mutex to restrict concurrency.