diff options
author | Andy Ayers <andya@microsoft.com> | 2019-02-12 08:22:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-12 08:22:47 -0800 |
commit | 6cd9e3ab6cae4aaf2a70fe1e59173b998932601d (patch) | |
tree | 3f2a3d950833174af1128ce040cf7fb899422659 /tests/src | |
parent | 3397472200fc7b2b5db3dfd27a652a12831c37ee (diff) | |
download | coreclr-6cd9e3ab6cae4aaf2a70fe1e59173b998932601d.tar.gz coreclr-6cd9e3ab6cae4aaf2a70fe1e59173b998932601d.tar.bz2 coreclr-6cd9e3ab6cae4aaf2a70fe1e59173b998932601d.zip |
JIT: change how we block gc refs from callee saves for inline pinvokes (#22477)
Add a new marker instruction that we emit once we've enabled preepmtive gc in
the inline pinvoke method prolog. Use that to kill off callee saves registers
with GC references, instead of waiting until the call.
This closes a window of vulnerability we see in GC stress where if a stress
interrupt happens between the point at which we enable preeemptive GC and
the point at which we make the call, we may report callee saves as GC live
when they're actually dead.
Closes #19211.
Diffstat (limited to 'tests/src')
0 files changed, 0 insertions, 0 deletions