private CompileContext currentCC;
private final MasterDefRegistryImpl original;
private MasterDefRegistryImpl(RegistryTrie delegate, MasterDefRegistryImpl original) {
CachingService acs = Aura.getCachingService();
this.delegateRegistries = delegate;
this.original = original;
this.rLock = acs.getReadLock();
this.wLock = acs.getWriteLock();
this.existsCache = acs.getExistsCache();
this.defsCache = acs.getDefsCache();
this.depsCache = acs.getDepsCache();
this.stringsCache = acs.getStringsCache();
this.descriptorFilterCache = acs.getDescriptorFilterCache();
this.accessCheckCache = acs.<String, String> getCacheBuilder()
.setInitialSize(ACCESS_CHECK_CACHE_SIZE)
.setMaximumSize(ACCESS_CHECK_CACHE_SIZE)
.setRecordStats(true)
.setSoftValues(true)
.build();