reduce Compiler Cache size to 100

The reduction from 500 to 100 is based on observations where 06d7f01fd
reduced the number of generated classes by about an order of magnitude
especially on very large pipelines (e.g. from ~600 to ~30).
This commit is contained in:
Joao Duarte 2020-06-30 11:57:55 +01:00 committed by João Duarte
parent e01c66c9bd
commit 1413c62c48

View file

@ -59,7 +59,7 @@ public final class ComputeStepSyntaxElement<T extends Dataset> {
* across pipelines and workers.
*/
private static final ConcurrentHashMap<ComputeStepSyntaxElement<?>, Class<? extends Dataset>> CLASS_CACHE
= new ConcurrentHashMap<>(500);
= new ConcurrentHashMap<>(100);
private static final AtomicLong DATASET_CLASS_INDEX = new AtomicLong(0);