Skip to content

Commit

Permalink
[JENKINS-42585] - Replace Hashtable by more efficient ConcurrentHashM…
Browse files Browse the repository at this point in the history
…ap (#2769)
  • Loading branch information
Jimilian authored and oleg-nenashev committed Mar 10, 2017
1 parent 783d935 commit 22e729c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/java/hudson/PluginManager.java
Expand Up @@ -117,7 +117,6 @@
import java.util.Enumeration;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.LinkedHashSet;
import java.util.List;
Expand Down Expand Up @@ -1952,7 +1951,7 @@ public String getExceptionString() {
* Stores {@link Plugin} instances.
*/
/*package*/ static final class PluginInstanceStore {
final Map<PluginWrapper,Plugin> store = new Hashtable<PluginWrapper,Plugin>();
final Map<PluginWrapper,Plugin> store = new ConcurrentHashMap<PluginWrapper,Plugin>();
}

/**
Expand Down

0 comments on commit 22e729c

Please sign in to comment.