public void assertOutsideCriticalRegions(String codePointDescription) throws IllegalStateException {
        List<String> regionDescriptions = threadLocalDescriptions.get();
        if (regionDescriptions.size() > 0) {
            throw new IllegalStateException(name + ": Code point " + codePointDescription +
                    " is within these critical regions: " + regionDescriptions);
        }
    }
@throws IllegalStateException if within one or more critical regions.
service-monitor/src/main/java/com/yahoo/vespa/service/duper/CriticalRegionChecker.java