private boolean isWritable() {
        return !isFrozen() && (map!=null || unmodifiableMap==null);
    }
Create a WRITABLE instance with some initial state
container-search/src/main/java/com/yahoo/search/query/profile/CopyOnWriteContent.java