GC coverage can now occur in scenarios where a thread doesn't exist. (#33615)
authorAaron Robinson <arobins@microsoft.com>
Tue, 17 Mar 2020 05:35:14 +0000 (22:35 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Mar 2020 05:35:14 +0000 (22:35 -0700)
commit0d19a5e18a988ad52ca0c2907edeb40ba4e00d9b
treec2c19b49cc9fb1e4cd415c37cc6ba476afa94d05
parent7e1312ed78aab4412c819de40444b7924bb1ef10
parentee53fec33c00d936706b54cb5004a405f552f6d3
GC coverage can now occur in scenarios where a thread doesn't exist. (#33615)

* GC coverage can now occur in scenarios where a thread doesn't exist.
Properly handle this case and assert some invariant.

* Update gccover.cpp

Misspelled function referenced in comment.

* Remove MethodDesc from GC coverage.

* Code review and fix some asserts when running the Debug version of tests.

* Limit JIT flag manipulation to FEATURE_TIERED_COMPILATION
src/coreclr/src/vm/excep.cpp
src/coreclr/src/vm/jitinterface.cpp