private static CopyOnWriteContent createInWritableState(Map<String,Object> map) {
        CopyOnWriteContent content=new CopyOnWriteContent();
        content.map = map;
        return content;
    }
Create a WRITABLE instance with some initial state
container-search/src/main/java/com/yahoo/search/query/profile/CopyOnWriteContent.java