1. A non-transitory computer readable storage medium including a set of instructions executable by a processor, the set of instructions, when executed, resulting in a performance of the following: inserting metadata into a cache memory of a processor in a system including a plurality of processors; performing one of a load check and a store check on the metadata to detect a respective one of a load metadata mismatch and a store metadata mismatch; and invoking a runtime software routine to order memory references upon a detection of one of the load metadata mismatch and the store metadata mismatch.