Online Application Guidance for Heterogeneous Memory Systems