commit | 891bc286963892ed96134ca1adb7822737af9710 | [log] [tgz] |
---|---|---|
author | Nicolas Geoffray <ngeoffray@google.com> | Fri Jan 29 12:40:13 2016 +0000 |
committer | Nicolas Geoffray <ngeoffray@google.com> | Fri Feb 05 11:48:04 2016 +0000 |
tree | 596055109b4eed1a41ae61dbec76ad9d5a1d78df | |
parent | 586996afc905518ed926e4680aab67bedabec9b7 [diff] |
Implement on-stack replacement for arm/arm64/x86/x86_64. High-level overview: - osr_method_threshold is used to know when to compile a method in osr mode (-> treat all loops as irreducible). - branch instructions in the compiler query whether they can jump to an osr method. - An osr entry point is found through the stack maps: if a stack map is duplicated in the CodeInfo, it is an osr entry point. Change-Id: Ifb39338cd281e2c7eccce67f4e18d46428be71e4