@Override
	public S getDataForSharedState() {
		synchronized (dataForLocalStateByThreadAndFrame) {
			if (dataForSharedState == null) {
				dataForSharedState = newDataForSharedState();
			}
			return dataForSharedState;
		}
	}
Factory method for the shared data-access shim

@return the new data-access shim
Ghidra/Debug/Framework-TraceModeling/src/main/java/ghidra/pcode/exec/trace/data/AbstractPcodeTraceAccess.java