ensuring read access to persistence windows' byte buffers does not interfere with flushing; ensuring access to logical log rotation is synchronised on XaResourceManager