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...
Saved in:
Main Authors | , , , , |
---|---|
Format | Patent |
Language | English |
Published |
18.09.2014
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
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 |