Preallocate jump stubs for dynamic methods (dotnet/coreclr#9883)
Preallocate jump stubs for dynamic methods
- This eliminates the possibility of running into an out-of-memory situation after compiling the method
- The temporary entry points block containing FixupPrecodes is extended for dynamic methods to include sufficient space for jump stubs
- When the target is too far for the FixupPrecode to encode a short relative jump, it instead does a short relative call or jump to the corresponding jump stub, which does an absolute jump to the target
Commit migrated from https://github.com/dotnet/coreclr/commit/
4bafc1004b99013eaa58450e4f974dc7169b5af1