mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 23:25:52 +00:00
[JENKINS-42585] - Replace Hashtable by more efficient ConcurrentHashMap (#2769)
This commit is contained in:
1 parent
783d935006
commit
22e729cc0b
1 file changed
+1
-2
@@ -117,7 +117,6 @@ import java.util.Collections;
|
||||
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;
|
||||
@@ -1952,7 +1951,7 @@ public abstract class PluginManager extends AbstractModelObject implements OnMas
|
||||
* 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>();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user