IDENTIFICATION AND MANAGEMENT OF UNSAFE OPTIMIZATIONS

Techniques for implementing identification and management of unsafe optimizations are disclosed. A method of the disclosure includes receiving, by a managed runtime environment (MRE) executed by a processing device, a notice of misprediction of optimized code, the misprediction occurring during a ru...

Full description

Saved in:
Bibliographic Details
Main Authors CODINA JOSEPH M, MADRILES CARLOS, VICENTE ALEJANDRO M, MARTINEZ RAUL, KOTSELIDIS CHRISTOS E
Format Patent
LanguageEnglish
Published 18.09.2014
Subjects
Online AccessGet full text

Cover

Loading…
More Information
Summary:Techniques for implementing identification and management of unsafe optimizations are disclosed. A method of the disclosure includes receiving, by a managed runtime environment (MRE) executed by a processing device, a notice of misprediction of optimized code, the misprediction occurring during a runtime of the optimized code, determining, by the MRE, whether a local misprediction counter (LMC) associated with a code region of the optimized code causing the misprediction exceeds a local misprediction threshold (LMT) value, and when the LMC exceeds the LMT value, compiling, by the MRE, native code of the optimized code to generate a new version of the optimized code, wherein the code region in the new version of the optimized code is not optimized.
Bibliography:Application Number: US201313977118