You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by je...@apache.org on 2018/08/24 23:54:30 UTC
[geode] branch windows-heavy-lifter updated: restrict class
scanning to 2 threads
This is an automated email from the ASF dual-hosted git repository.
jensdeppe pushed a commit to branch windows-heavy-lifter
in repository https://gitbox.apache.org/repos/asf/geode.git
The following commit(s) were added to refs/heads/windows-heavy-lifter by this push:
new 6b7345d restrict class scanning to 2 threads
6b7345d is described below
commit 6b7345dbd22d2ebbfec69173fd413d4580be6f86
Author: Jens Deppe <jd...@pivotal.io>
AuthorDate: Fri Aug 24 16:54:09 2018 -0700
restrict class scanning to 2 threads
---
.../geode/management/internal/cli/util/ClasspathScanLoadHelper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/util/ClasspathScanLoadHelper.java b/geode-core/src/main/java/org/apache/geode/management/internal/cli/util/ClasspathScanLoadHelper.java
index d9e7c0f..bc588b3 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/util/ClasspathScanLoadHelper.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/util/ClasspathScanLoadHelper.java
@@ -38,7 +38,7 @@ public class ClasspathScanLoadHelper {
public ClasspathScanLoadHelper(Collection<String> packagesToScan) {
scanResult = new ClassGraph().whitelistPackages(packagesToScan.toArray(new String[] {}))
.enableClassInfo()
- .enableAnnotationInfo().scan();
+ .enableAnnotationInfo().scan(2);
}
public Set<Class<?>> scanPackagesForClassesImplementing(Class<?> implementedInterface,