Skip to content

Commit d7718c2

Browse files
authored
Merge pull request #1039 from dsldevkit/concurrencyLevel
remove concurrencyLevel = 1 from nameFunctionCache to allow higher
2 parents 6fef78f + f27d6ae commit d7718c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/scoping/AbstractScopeNameProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public abstract class AbstractScopeNameProvider implements IScopeNameProvider {
3535
/**
3636
* Cache for the name functions associated with a given {@link EClass type}.
3737
*/
38-
private final Map<EClass, Iterable<INameFunction>> nameFunctionCache = new MapMaker().concurrencyLevel(1).weakKeys().makeMap();
38+
private final Map<EClass, Iterable<INameFunction>> nameFunctionCache = new MapMaker().weakKeys().makeMap();
3939

4040
/**
4141
* Returns the list of name functions for a given type by calling {@link #internalGetNameFunctions(EClass)}. The result is cached for subsequent calls.

0 commit comments

Comments
 (0)