diff options
author | Jeremy Koritzinsky <jkoritzinsky@gmail.com> | 2018-11-24 18:35:17 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-24 18:35:17 -0600 |
commit | d07633f53b51a30d294c4afe2b0b7ba5b563c134 (patch) | |
tree | 9736300845814825a110ee86319f3fc63b059a91 /perf.groovy | |
parent | 84a62b1925adee9b8979b36f52834d0cca5d0469 (diff) | |
download | coreclr-d07633f53b51a30d294c4afe2b0b7ba5b563c134.tar.gz coreclr-d07633f53b51a30d294c4afe2b0b7ba5b563c134.tar.bz2 coreclr-d07633f53b51a30d294c4afe2b0b7ba5b563c134.zip |
Fix Interop/PInvoke/Miscellaneous/HandleRef tests under GCStress (#21131)
* Add GC.KeepAlive call in the IL stub when marshalling a HandleRef.
* Add a GC.KeepAlive call for the BoxedInt since it isn't kept alive when running GC Stress
* Reference HandleRef._handle via the binder instead of by field offset arithmetic
* Alignment
* Use Marshal.Alloc/FreeHGlobal instead of the weird no-pinning machinery that was failing before
* Update HandleRefTest.cs
Diffstat (limited to 'perf.groovy')
0 files changed, 0 insertions, 0 deletions