github classgraph/classgraph fast-classpath-scanner-1.90.0

latest releases: classgraph-4.8.172, classgraph-4.8.171, classgraph-4.8.170...
7 years ago

First release to support parallel scanning.

This is the first release to support multithreaded scanning, which overlaps disk/SSD reads, jarfile decompression and classfile parsing across multiple threads. This typically reduces scan time by 30-60% (the speedup increases by a factor of 2 on the second and subsequent scan of the same classpath by the same JVM instance, because disk/SSD read bandwidth is the bottleneck, and file content is cached within a JVM session). Note that any custom MatchProcessors that you add are all run on a single thread, so they do not need to be threadsafe (though it's a good habit to always write threadsafe code even in supposedly single-threaded contexts).

Parallel scanning seems to perform stably and correctly, but please report any regressions. This release is a preview of FastClasspath Scanner 2.0, which will be released after further testing.

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.