diff options
author | Koundinya Veluri <kouvel@users.noreply.github.com> | 2018-03-15 10:05:42 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-15 10:05:42 -0700 |
commit | 1c5d0281719f2aad04e6738b99c845b4f95c214a (patch) | |
tree | 66fdb672bfab2618abd670d5744e1ec3a32bedd9 /build.sh | |
parent | 65d0df04b37ec2679e087d813597cc524b2465c7 (diff) | |
download | coreclr-1c5d0281719f2aad04e6738b99c845b4f95c214a.tar.gz coreclr-1c5d0281719f2aad04e6738b99c845b4f95c214a.tar.bz2 coreclr-1c5d0281719f2aad04e6738b99c845b4f95c214a.zip |
Fix to not reuse preallocated jump stubs for dynamic methods (#16941)
Fix to not reuse preallocated jump stubs for dynamic methods
Fixes https://github.com/dotnet/coreclr/issues/16940
- Allocate an extra jump stub per temporary entry points chunk that is shared by all precodes in the chunk. This jump stub always points to PrecodeFixupThunk.
- Use that for PrecodeFixupThunk, and use the precode-associated jump stub for pointing to the jitted code
- Considered allocating the extra jump stub only if coreclr is far away, but it involves reallocation which may be common in some environments/scenarios. Figured 12 extra bytes per dynamic type is not too significant.
Diffstat (limited to 'build.sh')
0 files changed, 0 insertions, 0 deletions