Criticality-Aware Memory Systems