Replace relax memory-access method with load(acquire) and store(release).