Merge "Revert "Revert "Implement on-stack replacement for arm/arm64/x86/x86_64."""